:root {
    --teal: #0c667d;
    --teal-2: #138aa6;
    --rose: #bd2461;
    --rose-2: #e0457f;
    --ink: #12262c;
    --muted: #587079;
    --glass: rgba(255, 255, 255, 0.55);
    --glass-strong: rgba(255, 255, 255, 0.72);
    --stroke: rgba(255, 255, 255, 0.85);
    --shadow:
        0 10px 30px rgba(12, 102, 125, 0.12), 0 2px 6px rgba(12, 102, 125, 0.06);
    --r: 26px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    font-family:
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        system-ui,
        sans-serif;
    color: var(--ink);
    background: #eef6f8;
    min-height: 100dvh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}
ul {
    list-style: none;
}

/* Background mesh */
.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(160deg, #f4fafb 0%, #eaf3f6 45%, #f9eef3 100%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: float 18s ease-in-out infinite;
}
.b1 {
    width: 420px;
    height: 420px;
    background: var(--teal-2);
    top: -120px;
    left: -120px;
}
.b2 {
    width: 380px;
    height: 380px;
    background: var(--rose-2);
    top: 35%;
    right: -140px;
    animation-delay: -6s;
    opacity: 0.45;
}
.b3 {
    width: 340px;
    height: 340px;
    background: #7fd0e0;
    bottom: -120px;
    left: 10%;
    animation-delay: -12s;
    opacity: 0.5;
}
@keyframes float {
    50% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

.wrap {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 28px 16px calc(40px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Liquid glass */
.glass {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.4)
    );
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--stroke);
    border-radius: var(--r);
    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}
.glass::before {
    /* specular highlight */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0) 35%
    );
    mask: linear-gradient(#000, transparent 60%);
    -webkit-mask: linear-gradient(#000, transparent 60%);
}

/* Profile */
.profile {
    text-align: center;
    padding: 34px 22px 24px;
    overflow: hidden;
}
.profile::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 110px;
    z-index: -0;
    background: linear-gradient(
        120deg,
        rgba(12, 102, 125, 0.18),
        rgba(189, 36, 97, 0.16)
    );
    pointer-events: none;
}
.avatar {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 14px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--rose));
    box-shadow: 0 10px 28px rgba(189, 36, 97, 0.25);
}
.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #fff;
    object-fit: cover;
}
h1 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
}
.verified {
    color: var(--teal-2);
    font-size: 0.95rem;
}
.tagline {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 4px auto 16px;
    max-width: 320px;
    position: relative;
}
.socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
}
.socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--teal);
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    transition: 0.25s;
}
.socials a:hover {
    transform: translateY(-3px);
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--rose));
}

/* Link buttons */
.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    border-radius: 999px;
    background: var(--glass-strong);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--stroke);
    box-shadow:
        var(--shadow),
        inset 0 1px 0 #fff;
    font-weight: 700;
    transition:
        transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1),
        box-shadow 0.25s;
}
.link-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 16px 34px rgba(12, 102, 125, 0.2),
        inset 0 1px 0 #fff;
}
.link-btn:active {
    transform: scale(0.98);
}
.link-btn .ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
    flex: none;
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    box-shadow: 0 6px 14px rgba(12, 102, 125, 0.35);
}
.link-btn .txt {
    flex: 1;
    text-align: center;
    margin-right: 44px;
}
.link-btn .go {
    display: none;
}
.link-btn.wa {
    background: linear-gradient(135deg, var(--teal), var(--teal-2));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 28px rgba(12, 102, 125, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.link-btn.wa .ico {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}
.link-btn.tt .ico {
    background: linear-gradient(135deg, #111, #333);
}
.link-btn.ig .ico {
    background: linear-gradient(135deg, var(--rose), var(--rose-2));
    box-shadow: 0 6px 14px rgba(189, 36, 97, 0.35);
}
.link-btn.mail .ico {
    background: linear-gradient(135deg, var(--rose), var(--teal));
}

/* Micro-interactions */
.link-btn,
.socials a,
.tab,
.more,
.app,
.app img {
    -webkit-tap-highlight-color: transparent;
}
.link-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.link-btn::after {
    /* shine sweep */
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    transform: skewX(-20deg);
}
.link-btn:hover::after {
    left: 130%;
    transition: left 0.8s ease;
}
.link-btn .ico {
    transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.link-btn:hover .ico {
    transform: rotate(-12deg) scale(1.12);
}
.link-btn .go {
    display: block;
    position: absolute;
    right: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: 0.3s;
}
.link-btn:hover .go {
    opacity: 0.7;
    transform: none;
}
.link-btn.wa {
    animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow:
            0 12px 28px rgba(12, 102, 125, 0.35),
            0 0 0 0 rgba(19, 138, 166, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow:
            0 12px 28px rgba(12, 102, 125, 0.35),
            0 0 0 10px rgba(19, 138, 166, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}
.socials a:active,
.tab:active,
.more:active {
    transform: scale(0.9);
}
.socials a:hover i {
    animation: wob 0.5s;
}
@keyframes wob {
    30% {
        transform: rotate(-14deg) scale(1.2);
    }
    60% {
        transform: rotate(10deg) scale(1.1);
    }
}
.app:hover img {
    transform: scale(1.08) rotate(-3deg);
}
.app img {
    transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.app:active {
    transform: scale(0.98);
}
.avatar {
    animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
    50% {
        transform: scale(1.04);
    }
}
.tab,
.more {
    transition:
        transform 0.2s,
        background 0.25s,
        color 0.25s;
}
.more:hover {
    background: rgba(189, 36, 97, 0.16);
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    animation: rip 0.6s ease-out;
    pointer-events: none;
    z-index: -1;
}
@keyframes rip {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Cards */
.card {
    padding: 20px;
}
.card h2 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.card h2 i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--rose));
}
.card p {
    font-size: 0.92rem;
    color: #2d4249;
}
.card .sub {
    color: var(--muted);
    margin: -4px 0 14px;
}

.collapse {
    position: relative;
    max-height: 9.5em;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.collapse p + p {
    margin-top: 10px;
}
.collapse::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4em;
    pointer-events: none;
    transition: opacity 0.3s;
    background: linear-gradient(transparent, rgba(244, 250, 251, 0.95));
}
.collapse.open::after {
    opacity: 0;
}
.more {
    margin-top: 10px;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--rose);
    background: rgba(189, 36, 97, 0.08);
    border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.more i {
    transition: transform 0.3s;
}
.more[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Apps */
.apps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.app {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(12, 102, 125, 0.07);
    transition: transform 0.25s;
}
.app:hover {
    transform: translateY(-2px);
}
.app img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    flex: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}
.app > div {
    flex: 1;
    min-width: 0;
}
.app h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.app p {
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Perks */
.perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.perks li {
    display: flex;
    gap: 14px;
}
.pi {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--teal);
    background: rgba(12, 102, 125, 0.1);
    border: 1px solid rgba(12, 102, 125, 0.12);
}
.perks li:nth-child(even) .pi {
    color: var(--rose);
    background: rgba(189, 36, 97, 0.09);
    border-color: rgba(189, 36, 97, 0.12);
}
.perks h3 {
    font-size: 0.96rem;
    font-weight: 800;
}
.perks p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Embed */
.tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(12, 102, 125, 0.08);
    margin-bottom: 14px;
}
.tab {
    flex: 1;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    border: 0;
    padding: 9px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--muted);
    background: transparent;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
}
.tab.active {
    color: var(--teal);
    background: #fff;
    box-shadow: 0 3px 10px rgba(12, 102, 125, 0.15);
}
.panel {
    display: none;
}
.panel.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.embed {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(12, 102, 125, 0.1);
    min-height: 120px;
}
.embed iframe {
    width: 100%;
    border: 0;
    display: block;
}
.embed blockquote {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.skeleton {
    background: linear-gradient(90deg, #f1f6f7 25%, #fff 50%, #f1f6f7 75%);
    background-size: 200% 100%;
    animation: sh 1.4s infinite;
}
@keyframes sh {
    to {
        background-position: -200% 0;
    }
}

.foot {
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .blob {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
@media (min-width: 600px) {
    .wrap {
        padding-top: 48px;
    }
}
