:root {
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --background-start: #ffffff;
    --background-end: #dbeafe;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --cta-orange: #f97316;
    --cta-orange-hover: #ea580c;
    --shadow: rgba(29, 78, 216, 0.15);
    --shadow-hover: rgba(29, 78, 216, 0.25);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
}

.business-card {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px var(--shadow);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.business-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 80px var(--shadow-hover);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.card-content {
    text-align: center;
}

.name {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.nickname {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-style: italic;
}

.position {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.company {
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-info {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-primary);
}

.contact-item i {
    color: var(--primary-dark);
    width: 20px;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--primary-light);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #005885);
}

.cta-button {
    display: inline-block;
    background: var(--cta-orange);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin: 25px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--cta-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.footer-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#qrcode {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.vcard-button {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--shadow);
}

.vcard-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.vcard-button i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .business-card {
        padding: 30px 25px;
    }

    .name {
        font-size: 24px;
    }

    .position {
        font-size: 14px;
    }

    .company {
        font-size: 16px;
    }

    .cta-button {
        font-size: 14px;
        padding: 12px 24px;
    }

    .logo {
        max-width: 150px;
    }
}

