* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-container {
    width: 100%;
    max-width: 500px;
    perspective: 1000px;
}

.business-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 24px;
}

.company-logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.header-section {
    text-align: center;
    margin-bottom: 28px;
}

.name {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.title {
    font-size: 16px;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 4px;
}

.company {
    font-size: 14px;
    font-weight: 400;
    color: #718096;
    margin-top: 8px;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 24px 0;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.contact-item:hover .icon-circle {
    transform: scale(1.1);
}

.phone-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.web-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.location-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-text {
    font-size: 15px;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.6;
    word-break: break-word;
    transition: color 0.2s ease;
}

a.contact-text:hover {
    color: #667eea;
}

.action-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-save,
.btn-share {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-save:active {
    transform: translateY(0);
}

.btn-share {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-share:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-share:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .business-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .name {
        font-size: 28px;
    }

    .title {
        font-size: 15px;
    }

    .company {
        font-size: 13px;
    }

    .icon-circle {
        width: 44px;
        height: 44px;
    }

    .contact-text {
        font-size: 14px;
    }

    .action-section {
        grid-template-columns: 1fr;
    }

    .btn-save,
    .btn-share {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .business-card {
        padding: 24px 20px;
    }

    .name {
        font-size: 24px;
    }

    .company-logo {
        max-width: 140px;
        max-height: 60px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
    }

    .icon-circle svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .card-container {
        max-width: 600px;
    }

    .business-card {
        padding: 48px 40px;
    }
}

@media print {
    body {
        background: white;
    }

    .business-card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .action-section {
        display: none;
    }
}
