/* IBEX Profile Cards - Custom Gradient Background */
body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(32, 14, 22, 0.95) 0%, 
                       rgba(16, 11, 16, 0.75) 32%, transparent 60%),
        radial-gradient(circle at bottom right, rgba(24, 16, 33, 0.9) 0%, 
                       rgba(16, 12, 21, 0.7) 35%, transparent 68%),
        linear-gradient(135deg, #200e16 0%, #0a0a0a 50%, #181021 100%);
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

/* Circular Photo Style */
.circle-photo {
    width: 160px;
    height: 160px;
    border-radius: 9999px;
    overflow: hidden;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.4);
}

.card-page-inner {
    width: 100%;
}

.card-actions {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.card-action {
    width: 52px;
    min-height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.card-action-icon {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}

.card-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profile-vcard {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.profile-vcard-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 7px;
    border-radius: 0;
    background: rgb(3 3 3 / 90%);
    box-shadow: 0 10px 28px rgb(0 0 0 / 0.3);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.profile-vcard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgb(0 0 0 / 0.38);
}

.profile-vcard-link canvas,
.profile-vcard-link img {
    display: block;
    width: 124px;
    height: 124px;
}

.profile-vcard span {
    color: rgb(255 255 255 / 0.82);
    font-size: 9px;
    font-weight: 600;
}

.business-card {
    width: min(672px, calc(100vw - 40px));
    aspect-ratio: 1 / 1;
    background: #f6f4ee;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.42);
    overflow: hidden;
    position: relative;
}

.business-card .wave-bg {
    height: 50%;
    background: url('../../uploads/ibex-gradient-wave-background.png') center center / cover no-repeat;
}

.business-card .wave-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 60%);
}

.business-card .profile-photo {
    position: absolute;
    left: 5.65%;
    top: 27.4%;
    width: 33.35%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgb(255 255 255 / 0.55);
    z-index: 1;
}

.business-card .card-details {
    height: 50%;
    padding: 20px 38px 26px;
    display: flex;
    flex-direction: column;
    background: #f5f4f1;
}

.business-card .name {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.03;
    letter-spacing: -1.6px;
    white-space: nowrap;
}

.business-card .name-dot {
    color: #fa0060;
}

.business-card .title {
    margin: 4px 0 0;
    font-family: 'Geist', Arial, sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 2;
    color: #111;
}

.business-card .contact {
    margin-top: 14px;
    display: grid;
    gap: 6px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
}

.business-card .contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
}

.business-card .contact-line svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.business-card .social-links {
    min-height: 34px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.business-card .social-links a {
    color: #050505;
    text-decoration: none;
}

.business-card .linkedin-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: #050505;
    color: #fff !important;
    font: 700 20px/1 Arial, sans-serif;
}

.business-card .whatsapp-icon,
.business-card .whatsapp-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.business-card .whatsapp-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-card .card-footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.business-card .website {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
}

.business-card .ibex-logo {
    width: 104px;
    height: auto;
    display: block;
}

@media (max-width: 712px) {
    .business-card {
        width: min(336px, calc(100vw - 40px));
        border-radius: 14px;
    }

    .business-card .card-details {
        padding: 10px 19px 13px;
    }

    .business-card .name {
        font-size: 25px;
        letter-spacing: -0.8px;
    }

    .business-card .title {
        margin-top: 2px;
        font-size: 11px;
    }

    .business-card .contact {
        margin-top: 7px;
        gap: 3px;
        font-size: 10px;
    }

    .business-card .contact-line {
        gap: 7px;
    }

    .business-card .contact-line svg {
        width: 11px;
        height: 11px;
    }

    .business-card .social-links {
        min-height: 17px;
        margin-top: 10px;
        gap: 9px;
    }

    .business-card .linkedin-icon {
        width: 14px;
        height: 14px;
        font-size: 10px;
    }

    .business-card .whatsapp-icon,
    .business-card .whatsapp-icon svg {
        width: 15px;
        height: 15px;
    }

    .business-card .website {
        font-size: 10px;
    }

    .business-card .ibex-logo {
        width: 52px;
    }

    .card-actions {
        right: 10px;
        bottom: 9px;
        gap: 6px;
    }

    .card-action {
        width: 34px;
        min-height: 34px;
    }

    .card-action-icon {
        font-size: 13px;
    }

    .profile-vcard {
        top: 8px;
        right: 8px;
    }

    .profile-vcard-link {
        gap: 3px;
        padding: 4px;
    }

    .profile-vcard-link canvas,
    .profile-vcard-link img {
        width: 62px;
        height: 62px;
    }

    .profile-vcard span {
        font-size: 5px;
    }
}
