/* Mobile-first */
body {
    background-color: #0b1220;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans";
}

.bio-card {
    --bg1: #0b1220;
    --bg2: #0f1b34;
    --text: #eaf0ff;
    --muted: rgba(234, 240, 255, .74);
    --muted2: rgba(234, 240, 255, .60);
    --shadow: 0 18px 60px rgba(0, 0, 0, .45);
    --radius: 20px;
    --blue1: #2f6bff;
    --blue2: #2ad2ff;
    --wa: #25D366;

    font-family: inherit;
    color: var(--text);
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
    border-radius: var(--radius);
    background:
        radial-gradient(900px 650px at 20% 0%, rgba(47, 107, 255, .35), transparent 58%),
        radial-gradient(900px 650px at 90% 28%, rgba(42, 210, 255, .22), transparent 56%),
        linear-gradient(180deg, var(--bg1), var(--bg2));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.bio-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(520px 260px at 25% 15%, rgba(47, 107, 255, .25), transparent 62%);
    filter: blur(9px);
    opacity: .85;
    animation: floatGlow 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0px);
        opacity: .72;
    }

    50% {
        transform: translateY(9px);
        opacity: .95;
    }
}

.bio-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    /* Rounded square */
    background: linear-gradient(135deg, #7F7FD5, #86A8E7, #91EAE4);
    /* Example gradient matching the blue/purple vibe */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 0 0 auto;
}

.head-text {
    min-width: 0;
    flex: 1;
}

.bio-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: .3px;
    color: #ffffff;
}

.bio-subtitle {
    margin: 6px 0 0 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.4;
    font-weight: 400;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    position: relative;
}

.trust-pill {
    font-size: 13px;
    font-weight: 500;
    color: rgba(234, 240, 255, .85);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 8px 14px;
    border-radius: 99px;
    /* Fully rounded pills */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.trust-pill:hover {
    background: rgba(255, 255, 255, .08);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trust-icon.dot {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    /* Green dot */
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.trust-icon.star {
    color: #bdc3c7;
    /* Silver/Gray star */
    font-size: 14px;
}

.trust-icon.lock {
    font-size: 13px;
    color: #f39c12;
    /* Golden lock */
}

.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.btn {
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 13px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transform: translateY(0);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .08);
}

.btn:active {
    transform: translateY(0px) scale(.995);
}

.btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    flex: 0 0 auto;
}

.icon svg {
    display: block;
}

.icon-soft {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .10);
}

.text {
    min-width: 0;
}

.label {
    display: block;
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 14.5px;
    line-height: 1.15;
    white-space: normal;
}

.hint {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted2);
    margin-top: 3px;
    white-space: normal;
}

.arrow {
    font-weight: 900;
    opacity: .9;
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* Primary CTA */
.btn-primary {
    background: linear-gradient(135deg, rgba(47, 107, 255, .95), rgba(42, 210, 255, .80));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow:
        0 16px 35px rgba(47, 107, 255, .22),
        0 12px 35px rgba(42, 210, 255, .12),
        0 10px 25px rgba(0, 0, 0, .30);
    position: relative;
    overflow: hidden;
    animation: softPulse 2.6s ease-in-out infinite;
}

.btn-primary .icon {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .28);
}

.btn-primary .hint {
    color: rgba(255, 255, 255, .88);
}

@keyframes softPulse {

    0%,
    100% {
        transform: translateY(0);
        filter: brightness(1);
    }

    50% {
        transform: translateY(-1px);
        filter: brightness(1.06);
    }
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 45%;
    height: 180%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .30), transparent);
    opacity: .55;
    animation: sheen 3.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sheen {
    0% {
        transform: translateX(-120%) rotate(18deg);
        opacity: 0;
    }

    20% {
        opacity: .55;
    }

    55% {
        opacity: .18;
    }

    100% {
        transform: translateX(280%) rotate(18deg);
        opacity: 0;
    }
}

/* Accordion */
.acc {
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .10);
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.acc-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
    border-bottom: 1px solid transparent;
    /* Prevent layout jump */
}

.acc-summary::-webkit-details-marker {
    display: none;
}

.acc-summary::marker {
    content: "";
}

.acc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.acc-badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
    flex: 0 0 auto;
}

.wa-badge {
    background: rgba(37, 211, 102, .16);
    border-color: rgba(37, 211, 102, .28);
    color: rgba(234, 240, 255, .95);
}

.acc-titlewrap {
    min-width: 0;
}

.acc-title {
    display: block;
    font-weight: 950;
    font-size: 14.5px;
    letter-spacing: .2px;
    line-height: 1.15;
}

.acc-sub {
    display: block;
    font-size: 12px;
    line-height: 1.25;
    color: var(--muted2);
    margin-top: 3px;
    white-space: normal;
}

.acc-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.acc-count {
    font-size: 12px;
    font-weight: 900;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    opacity: .95;
}

.chev {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    transform: rotate(0deg);
    transition: transform .22s ease, background .18s ease, border-color .18s ease;
    color: rgba(234, 240, 255, .92);
}

.acc[open] .chev {
    transform: rotate(180deg);
}

.acc[open] .acc-summary {
    background:
        radial-gradient(600px 180px at 20% 0%, rgba(47, 107, 255, .18), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.acc-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-compact {
    padding: 12px 12px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.btn-compact .icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
}

/* WhatsApp button accent */
.btn-wa {
    border-color: rgba(37, 211, 102, .22);
    background: rgba(37, 211, 102, .08);
}

.btn-wa:hover {
    border-color: rgba(37, 211, 102, .35);
    background: rgba(37, 211, 102, .11);
}

.icon-wa {
    background: rgba(37, 211, 102, .18);
    border-color: rgba(37, 211, 102, .28);
    color: rgba(234, 240, 255, .96);
}

.bio-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    position: relative;
}

.mini-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgba(234, 240, 255, .76);
    margin-bottom: 6px;
    justify-content: center;
}

.fineprint {
    margin: 0;
    font-size: 11px;
    color: rgba(234, 240, 255, .55);
    line-height: 1.25;
}

@media (min-width: 520px) {
    .bio-card {
        padding: 18px;
        border-radius: 22px;
    }

    .bio-title {
        font-size: 18px;
    }

    .bio-subtitle {
        font-size: 13px;
    }

    .label {
        font-size: 15px;
    }

    .hint {
        font-size: 12.5px;
    }

    .acc-title {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .bio-card::before,
    .btn-primary,
    .btn-primary::after {
        animation: none !important;
    }

    .btn,
    .chev {
        transition: none !important;
    }
}