
/* =========================================================
   VISIT MY PROFILE — PREMIUM FEATURES V2
   ========================================================= */

.vmp-f2 {
    --f2-blue: #1769ff;
    --f2-blue-deep: #0754e8;
    --f2-navy: #07152f;
    --f2-text: #53617a;
    --f2-muted: #7f8ba0;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding: 108px 0 96px;

    background:
        radial-gradient(circle at 88% 18%, rgba(23,105,255,0.055), transparent 27%),
        radial-gradient(circle at 12% 82%, rgba(86,173,255,0.06), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #fbfdff 100%);
}

.vmp-f2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(28,77,148,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28,77,148,0.024) 1px, transparent 1px);

    background-size: 58px 58px;
}

.vmp-f2-ambient {
    position: absolute;
    z-index: -3;

    border-radius: 50%;

    pointer-events: none;
    filter: blur(24px);
}

.vmp-f2-ambient-one {
    width: 430px;
    height: 430px;

    top: 80px;
    right: -220px;

    background:
        radial-gradient(
            circle,
            rgba(23,105,255,0.10),
            transparent 70%
        );
}

.vmp-f2-ambient-two {
    width: 480px;
    height: 480px;

    left: -240px;
    bottom: -150px;

    background:
        radial-gradient(
            circle,
            rgba(76,165,255,0.08),
            transparent 70%
        );
}

.vmp-f2-container {
    position: relative;
    z-index: 2;
}

/* ---------- Heading ---------- */

.vmp-f2-heading {
    max-width: 790px;
    margin: 0 auto 56px;

    text-align: center;
}

.vmp-f2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 20px;
    padding: 8px 13px 8px 10px;

    border: 1px solid rgba(23,105,255,0.11);
    border-radius: 999px;

    background: rgba(255,255,255,0.86);

    box-shadow:
        0 8px 22px rgba(26,68,130,0.05),
        inset 0 1px 0 rgba(255,255,255,1);

    color: #56647b;

    font-size: 12px;
    font-weight: 650;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.vmp-f2-eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--f2-blue);

    box-shadow:
        0 0 0 5px rgba(23,105,255,0.08);
}

.vmp-f2-heading h2 {
    margin: 0;

    color: var(--f2-navy);

    font-size: clamp(42px, 4vw, 60px);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -0.042em;
}

.vmp-f2-heading h2 span {
    color: var(--f2-blue);
}

.vmp-f2-heading > p {
    max-width: 650px;

    margin: 20px auto 0;

    color: var(--f2-text);

    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Feature grid ---------- */

.vmp-f2-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}

.vmp-f2-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid rgba(18,55,105,0.08);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.99),
            rgba(246,250,255,0.97)
        );

    box-shadow:
        0 20px 48px rgba(18,55,105,0.085),
        inset 0 1px 0 rgba(255,255,255,1);

    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 260ms ease,
        box-shadow 260ms ease;
}

/* ---------- Feature image ---------- */

.vmp-f2-media {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1.5 / 1;

    margin: 12px 12px 0;

    border-radius: 21px;

    border: 1px solid rgba(23,105,255,0.06);

    background:
        linear-gradient(
            180deg,
            #f4f8ff,
            #edf5ff
        );
}

.vmp-f2-media::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.12),
            transparent 62%,
            rgba(7,21,47,0.04)
        );
}

.vmp-f2-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Card content ---------- */

.vmp-f2-content {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 23px 22px 24px;
}

.vmp-f2-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-bottom: 17px;

    border-radius: 12px;

    color: #1769ff;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #e4efff
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95);
}

.vmp-f2-icon i {
    font-size: 12px;
}

.vmp-f2-content h3 {
    margin: 0 0 10px;

    color: #132746;

    font-size: 18px;
    font-weight: 740;
    line-height: 1.25;
    letter-spacing: -0.018em;
}

.vmp-f2-description {
    color: #69758a;

    font-size: 13px;
    line-height: 1.65;
}

.vmp-f2-description p {
    margin: 0;
}

/* ---------- Hover polish ---------- */

@media (hover: hover) {

    .vmp-f2-card:hover {
        transform: translateY(-7px);

        border-color: rgba(23,105,255,0.14);

        box-shadow:
            0 28px 62px rgba(18,55,105,0.12),
            0 6px 20px rgba(23,105,255,0.045),
            inset 0 1px 0 rgba(255,255,255,1);
    }

    .vmp-f2-card:hover .vmp-f2-media img {
        transform: scale(1.035);
    }

    .vmp-f2-card:hover .vmp-f2-icon {
        color: #ffffff;

        background:
            linear-gradient(
                145deg,
                #0754e8,
                #2b7cff
            );

        box-shadow:
            0 8px 18px rgba(23,105,255,0.18);
    }
}

/* =========================================================
   FEATURES V2 — RESPONSIVE + MOTION
   ========================================================= */

/* ---------- Entrance reveal ---------- */

@keyframes vmpF2Reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vmp-f2-heading {
    animation: vmpF2Reveal 760ms ease both;
}

.vmp-f2-card {
    animation: vmpF2Reveal 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vmp-f2-card:nth-child(1) {
    animation-delay: 120ms;
}

.vmp-f2-card:nth-child(2) {
    animation-delay: 200ms;
}

.vmp-f2-card:nth-child(3) {
    animation-delay: 280ms;
}

.vmp-f2-card:nth-child(4) {
    animation-delay: 360ms;
}

.vmp-f2-card:nth-child(5) {
    animation-delay: 440ms;
}

.vmp-f2-card:nth-child(6) {
    animation-delay: 520ms;
}

/* ---------- Subtle icon breathing ---------- */

@keyframes vmpF2IconBreath {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.vmp-f2-icon {
    animation: vmpF2IconBreath 5.8s ease-in-out infinite;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .vmp-f2 {
        padding: 92px 0 82px;
    }

    .vmp-f2-heading {
        margin-bottom: 48px;
    }

    .vmp-f2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* =========================================================
   TABLET PORTRAIT / LARGE MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .vmp-f2 {
        padding: 76px 0 68px;
    }

    .vmp-f2-heading {
        margin-bottom: 38px;
    }

    .vmp-f2-heading h2 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .vmp-f2-heading > p {
        font-size: 15px;
        line-height: 1.65;
    }

    .vmp-f2-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vmp-f2-card {
        border-radius: 24px;
    }

    .vmp-f2-media {
        margin: 10px 10px 0;
        border-radius: 18px;
    }

    .vmp-f2-content {
        padding: 20px 18px 21px;
    }

    .vmp-f2-content h3 {
        font-size: 17px;
    }

    .vmp-f2-description {
        font-size: 12.5px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .vmp-f2 {
        padding: 66px 0 58px;
    }

    .vmp-f2-eyebrow {
        margin-bottom: 17px;
        font-size: 10.5px;
    }

    .vmp-f2-heading h2 {
        font-size: clamp(32px, 10.5vw, 42px);
    }

    .vmp-f2-heading > p {
        font-size: 14px;
    }

    .vmp-f2-media {
        aspect-ratio: 1.45 / 1;
    }

    .vmp-f2-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 15px;
    }

    .vmp-f2-content {
        padding: 18px 16px 19px;
    }

    .vmp-f2-content h3 {
        margin-bottom: 8px;
        font-size: 16px;
    }
}

/* ---------- Reduced motion ---------- */

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

    .vmp-f2-heading,
    .vmp-f2-card,
    .vmp-f2-icon {
        animation: none !important;
    }

    .vmp-f2-card,
    .vmp-f2-media img,
    .vmp-f2-icon {
        transition: none !important;
    }
}
