:root {
    --card-ink: #0b1f33;
    --card-gold: #c8a45d;
    --card-paper: #ffffff;
    --card-soft: #f6f7f9;
    --card-muted: #667085;
    --card-line: #e6e8ec;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    color: var(--card-ink);
    background:
        radial-gradient(circle at top left, rgba(200, 164, 93, .20), transparent 32%),
        radial-gradient(circle at bottom right, rgba(11, 31, 51, .12), transparent 34%),
        linear-gradient(180deg, #fff 0%, var(--card-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.card-shell {
    width: min(450px, 100%);
}

.digital-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(230, 232, 236, .94);
    border-radius: 34px;
    box-shadow: 0 30px 90px rgba(11, 31, 51, .15);
}

.card-top {
    position: relative;
    padding: 30px 28px 26px;
    text-align: center;
    background:
        radial-gradient(circle at 50% -10%, rgba(200, 164, 93, .28), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
    border-bottom: 1px solid var(--card-line);
}

.tenant-logo {
    min-height: 48px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tenant-logo img {
    max-width: 210px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.tenant-logo-text {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--card-ink);
}

.profile-wrap {
    width: 132px;
    height: 132px;
    margin: 0 auto 22px;
    border-radius: 50%;
    padding: 6px;
    background: #ffffff;
    box-shadow:
        0 22px 56px rgba(11, 31, 51, .16),
        0 0 0 1px rgba(230, 232, 236, .90);
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-frame img.profile-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform-origin: center center;
    display: block;
}

.profile-initial {
    color: #ffffff;
    background: var(--card-ink);
    font-size: 46px;
    font-weight: 900;
}

.demo-logo-frame {
    background: #ffffff;
}

.demo-logo-frame img {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

h1 {
    margin: 0;
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.title {
    margin-top: 8px;
    color: var(--card-muted);
    font-size: 15px;
    line-height: 1.45;
}

.company {
    margin-top: 12px;
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(200, 164, 93, .12);
    color: var(--card-ink);
    font-size: 13px;
    font-weight: 800;
}

.card-body {
    padding: 24px 24px 28px;
}

.bio {
    margin: 0 0 20px;
    color: var(--card-muted);
    line-height: 1.6;
    text-align: center;
    font-size: 15px;
}

.button-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--card-ink);
    text-decoration: none;
    font-weight: 850;
    border: 1px solid var(--card-line);
    box-shadow: none;
    text-align: center;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.card-button:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 164, 93, .55);
    box-shadow: 0 10px 24px rgba(11, 31, 51, .08);
}

.card-button.primary {
    background: var(--card-ink);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 14px 28px rgba(11, 31, 51, .14);
}

.card-button.private-tool {
    color: var(--card-gold);
    border-color: rgba(200, 164, 93, .42);
    background: rgba(200, 164, 93, .08);
}

.detail-section {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.detail-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--card-line);
    background: #ffffff;
}

.detail-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--card-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.detail-card p {
    margin: 0;
    color: var(--card-ink);
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

@media (max-width: 480px) {
    body {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .digital-card {
        border-radius: 28px;
    }

    .card-top {
        padding: 26px 22px 23px;
    }

    .card-body {
        padding: 22px 18px 24px;
    }

    h1 {
        font-size: 28px;
    }

    .profile-wrap {
        width: 122px;
        height: 122px;
    }

    .card-button {
        min-height: 46px;
        padding: 12px 14px;
    }
}

@media print {
    body {
        background: #ffffff !important;
        padding: 0 !important;
        display: block !important;
    }

    .card-shell {
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto !important;
    }

    .digital-card {
        box-shadow: none !important;
        border-radius: 24px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .card-top {
        padding: 22px 22px 18px !important;
    }

    .card-body {
        padding: 18px 20px 20px !important;
    }

    .profile-wrap {
        width: 108px !important;
        height: 108px !important;
        margin-bottom: 14px !important;
    }

    h1 {
        font-size: 26px !important;
    }

    .title {
        font-size: 13px !important;
        margin-top: 6px !important;
    }

    .company {
        margin-top: 8px !important;
        padding: 6px 11px !important;
        font-size: 12px !important;
    }

    .tenant-logo {
        min-height: 34px !important;
        margin-bottom: 14px !important;
    }

    .tenant-logo img {
        max-width: 160px !important;
        max-height: 48px !important;
    }

    .button-grid {
        gap: 7px !important;
    }

    .card-button {
        min-height: 36px !important;
        padding: 8px 11px !important;
        font-size: 12px !important;
        box-shadow: none !important;
    }

    .detail-section {
        gap: 7px !important;
        margin-top: 12px !important;
    }

    .detail-card {
        padding: 9px 11px !important;
        border-radius: 12px !important;
    }

    .detail-card span {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .detail-card p {
        font-size: 12px !important;
    }
}
/* =========================================================
   Card Body - Original Layout Restore
========================================================= */

.actions {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 16px;
    background: var(--card-ink);
    color: #ffffff;
    text-decoration: none;
    font-weight: 850;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 14px 28px rgba(11,31,51,.14);
    text-align: center;
}

.action-btn.secondary {
    background: #ffffff;
    color: var(--card-ink);
    border: 1px solid var(--card-line);
    box-shadow: none;
}

.info-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    background: #ffffff;
}

.info-label {
    width: 82px;
    flex: 0 0 82px;
    color: var(--card-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.info-value {
    min-width: 0;
    flex: 1;
    color: var(--card-ink);
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.info-value a {
    color: var(--card-ink);
    text-decoration: none;
    font-weight: 800;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-top: 18px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--card-line);
    color: var(--card-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
}

.private-tools {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--card-line);
}

.private-tools a {
    color: var(--card-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

/* Eski yeni buton tasarımını pasifleştir */
.button-grid,
.detail-section {
    display: unset;
}

.card-button,
.detail-card {
    all: unset;
}

/* Mobile */
@media (max-width: 480px) {
    .info-item {
        flex-direction: column;
        gap: 6px;
    }

    .info-label {
        width: auto;
        flex: unset;
    }

    .action-btn {
        min-height: 46px;
        padding: 12px 14px;
    }
}

/* Print */
@media print {
    .actions {
        gap: 7px !important;
        margin-bottom: 14px !important;
    }

    .action-btn {
        min-height: 38px !important;
        padding: 9px 12px !important;
        font-size: 13px !important;
        box-shadow: none !important;
    }

    .info-list {
        gap: 7px !important;
        margin-top: 12px !important;
    }

    .info-item {
        padding: 9px 11px !important;
        border-radius: 12px !important;
    }

    .info-label {
        width: 70px !important;
        flex: 0 0 70px !important;
        font-size: 10px !important;
    }

    .info-value {
        font-size: 12px !important;
    }

    .socials {
        gap: 6px !important;
        margin-top: 12px !important;
    }

    .socials a {
        min-height: 30px !important;
        padding: 6px 9px !important;
        font-size: 11px !important;
    }

    .private-tools {
        margin-top: 12px !important;
        padding-top: 12px !important;
        gap: 8px !important;
    }

    .private-tools a {
        font-size: 11px !important;
    }
}