/* Public digital business card */
.vc-page { margin: 0; min-height: 100vh; background: #eef1f6; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a; }
.vc-page .vc-wrap { max-width: 460px; margin: 0 auto; min-height: 100vh; background: #fff; box-shadow: 0 0 40px rgba(15,23,42,.08); }
.vcard { --c: #2563eb; position: relative; padding-bottom: 8px; }
.vcard svg { width: 20px; height: 20px; }
.vc-cover { height: 170px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0f172a)); background-size: cover; background-position: center; }
.vc-head { text-align: center; padding: 0 22px; }
.vc-avatar { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; margin-top: -58px; background: #e2e8f0; box-shadow: 0 6px 20px rgba(15,23,42,.15); }
.vc-ini { display: inline-grid; place-items: center; font-size: 2.3rem; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.vc-head h1 { font-size: 1.55rem; margin: .5rem 0 .2rem; letter-spacing: -.01em; }
.vc-role { margin: 0; color: #475569; font-size: .98rem; }
.vc-role b { color: #0f172a; font-weight: 600; }
.vc-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 18px 16px 6px; }
.vc-acts a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; font-size: .74rem; color: #334155; text-decoration: none; font-weight: 600; }
.vc-acts a span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); transition: transform .15s; }
.vc-acts a:hover span { transform: translateY(-2px); }
.vc-body { padding: 10px 20px 10px; }
.vc-save { display: flex; align-items: center; justify-content: center; gap: .5em; background: var(--c); color: #fff; text-decoration: none; padding: .9em; border-radius: 14px; font-weight: 700; margin: 10px 0 18px; box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent); }
.vc-sec { margin: 0 0 16px; }
.vc-sec h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; margin: 0 0 .5rem; }
.vc-sec p { margin: 0; color: #334155; line-height: 1.6; font-size: .95rem; }
.vc-info a, .vc-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; color: #0f172a; text-decoration: none; margin-bottom: 8px; font-size: .93rem; word-break: break-word; }
.vc-info a svg, .vc-links a svg { color: var(--c); flex: none; }
.vc-links a { font-weight: 600; }
.vc-soc { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 20px; }
.vc-soc a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #e2e8f0; color: #334155; }
.vc-soc a:hover { color: var(--c); border-color: var(--c); }
.vc-lead { display: grid; gap: 8px; }
.vc-lead input, .vc-lead textarea { width: 100%; box-sizing: border-box; padding: .75em .9em; border: 1px solid #e2e8f0; border-radius: 11px; font: inherit; font-size: .93rem; background: #f8fafc; color: #0f172a; }
.vc-lead textarea { min-height: 76px; resize: vertical; }
.vc-lead button, .vc-share button { padding: .8em; border: 0; border-radius: 11px; background: #0f172a; color: #fff; font: 600 .93rem inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5em; }
.vc-hp { position: absolute !important; left: -9999px; }
.vc-note { font-size: .75rem !important; color: #94a3b8 !important; text-align: center; }
.vc-note a { color: #64748b; }
.vc-msg { padding: .7em; border-radius: 10px; font-size: .9rem; text-align: center; }
.vc-msg.ok { background: #dcfce7; color: #166534; } .vc-msg.err { background: #fee2e2; color: #991b1b; }
.vc-share { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 22px 0 6px; }
.vc-share button { background: #fff; color: #0f172a; border: 1px solid #e2e8f0; width: 100%; }
.vc-qr canvas { width: 150px; height: 150px; border-radius: 10px; border: 1px solid #e2e8f0; }
.vc-foot { text-align: center; font-size: .75rem; color: #94a3b8; padding: 14px; }
.vc-foot a { color: #64748b; text-decoration: none; }

/* Modern: dark, left-aligned header */
.t-modern { background: #0b1120; color: #e2e8f0; }
.t-modern .vc-cover { height: 120px; }
.t-modern .vc-head { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: end; }
.t-modern .vc-avatar { width: 96px; height: 96px; border-radius: 22px; border-color: #0b1120; margin-top: -48px; grid-row: span 2; }
.t-modern .vc-head h1 { color: #fff; margin-top: 0; }
.t-modern .vc-role, .t-modern .vc-role b { color: #cbd5e1; }
.t-modern .vc-acts { justify-content: flex-start; padding-left: 18px; }
.t-modern .vc-acts a { color: #cbd5e1; }
.t-modern .vc-acts a span { background: color-mix(in srgb, var(--c) 22%, #0b1120); color: #fff; }
.t-modern .vc-info a, .t-modern .vc-links a, .t-modern .vc-soc a, .t-modern .vc-share button { border-color: #1e293b; color: #e2e8f0; background: #111a2e; }
.t-modern .vc-sec p { color: #cbd5e1; }
.t-modern .vc-lead input, .t-modern .vc-lead textarea { background: #111a2e; border-color: #1e293b; color: #e2e8f0; }
.t-modern .vc-lead button { background: var(--c); }
.t-modern .vc-qr canvas { border-color: #1e293b; }

/* Minimal: no cover, clean */
.t-minimal .vc-cover { height: 0; }
.t-minimal .vc-avatar { margin-top: 36px; border-color: color-mix(in srgb, var(--c) 25%, #fff); box-shadow: none; }
.t-minimal .vc-acts a span { background: #fff; border: 1px solid #e2e8f0; border-radius: 50%; }
.t-minimal .vc-save { box-shadow: none; border-radius: 99px; }

.vc-missing { padding: 80px 24px; text-align: center; color: #475569; }
@media (min-width: 520px) { .vc-page { padding: 24px 0; } .vc-page .vc-wrap { min-height: auto; border-radius: 26px; overflow: hidden; } }
