/* Prime Install vCard Specific Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --vcard-bg: #0b0e14;
    --vcard-bg-alt: #161b24;
    --vcard-primary: #9cff00;
    --vcard-text: #f8fafc;
    --vcard-text-muted: #94a3b8;
    --glass-bg: rgba(22, 27, 36, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--vcard-bg);
    color: var(--vcard-text);
    background: radial-gradient(circle at top right, rgba(156, 255, 0, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.02), transparent 40%),
        var(--vcard-bg);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: 'Outfit', sans-serif;
}

.spinner-container {
    position: fixed;
    inset: 0;
    background: var(--vcard-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--vcard-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.card-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    display: none;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.profile-header {
    text-align: center;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.profile-image-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--vcard-primary), transparent 60%);
    position: relative;
    transform: translateZ(30px);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--vcard-bg-alt);
    border: 3px solid var(--vcard-bg);
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    transform: translateZ(20px);
}

.profile-title {
    color: var(--vcard-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transform: translateZ(15px);
}

.profile-company {
    color: var(--vcard-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateZ(10px);
}

.action-ribbon {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    transform: translateZ(25px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--vcard-primary);
    color: var(--vcard-bg);
    flex: 2;
    box-shadow: 0 10px 20px -10px var(--vcard-primary);
}

.btn-icon-only {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.wallet-ribbon {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    transform: translateZ(20px);
}

.wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.wallet-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--vcard-text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.bio-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-icon {
    width: 40px;
    height: 40px;
    background: rgba(156, 255, 0, 0.1);
    color: var(--vcard-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.lead-form-container {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--vcard-primary);
}

.btn-submit {
    width: 100%;
    background: white;
    color: var(--vcard-bg);
}

.content-locked {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    position: relative;
}

.lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(11, 14, 20, 0.6);
    text-align: center;
    border-radius: 12px;
    padding: 1rem;
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--vcard-text);
}

.vcard-footer {
    text-align: center;
    padding: 2rem 0 1rem;
    color: var(--vcard-text-muted);
    font-size: 0.8rem;
}

.vcard-footer a {
    color: var(--vcard-text-muted);
    text-decoration: underline;
}

/* --- Premium QR Code Styling (Starbucks Style) --- */
.qr-wrapper {
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code-box {
    position: relative;
    width: 170px;
    height: 170px;
    background: white;
    padding: 12px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.qr-code-box .qr-img {
    width: 100%;
    height: 100%;
}

.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.qr-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}