/* =========================================================
   PLOTINK — VIRAL INSTAGRAM THUMBNAIL HERO CARDS
   Desktop: 5 cards in one row
   Mobile: 3 cards per row
   Square • High Impact • Premium Property Style
   ========================================================= */

.plotink-hero-actions{
    width:100%;
    margin-top:24px;
}

.plotink-hero-action-wrap{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
    padding:12px 2px 18px;
}

.plotink-hero-action{
    position:relative;
    min-width:0;
    aspect-ratio:1 / 1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:18px 10px 12px;
    overflow:visible;
    isolation:isolate;
    border:1px solid rgba(255,255,255,.85);
    border-radius:22px;
    text-decoration:none;
    text-align:center;
    color:#111827;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f8fc 55%,
            #eaf1f8 100%
        );

    box-shadow:
        0 14px 32px rgba(15,23,42,.18),
        inset 0 1px 0 rgba(255,255,255,.95);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


/* ---------- AI / INSTAGRAM GLOW ---------- */

.plotink-hero-action::before{
    content:"";
    position:absolute;
    inset:-1px;
    z-index:-1;
    border-radius:23px;

    background:
        linear-gradient(
            135deg,
            #00c6ff,
            #7c3aed,
            #00d4a0,
            #ff3d71,
            #00c6ff
        );

    background-size:300% 300%;
    animation:plotinkHeroGradient 7s ease infinite;
    opacity:.72;
}

@keyframes plotinkHeroGradient{
    0%,100%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }
}


/* ---------- DECORATIVE LIGHT ---------- */

.plotink-hero-action::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    top:-58px;
    right:-48px;
    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.95) 0%,
            rgba(0,198,255,.12) 42%,
            transparent 72%
        );

    z-index:-1;
    pointer-events:none;
}


/* ---------- HOVER ---------- */

.plotink-hero-action:hover{
    transform:translateY(-6px) scale(1.015);

    border-color:#ffffff;

    box-shadow:
        0 22px 42px rgba(15,23,42,.24),
        0 0 24px rgba(0,198,255,.16),
        inset 0 1px 0 #ffffff;

    color:#111827;
}


/* =========================================================
   SMART TAG
   ========================================================= */

.plotink-hero-action .smart-tag{
    position:absolute;
    top:-9px;
    left:50%;
    transform:translateX(-50%);
    z-index:4;

    min-width:max-content;

    padding:5px 9px;

    border-radius:999px;

    background:#111827;
    color:#ffffff;

    font-size:8px;
    line-height:1;
    font-weight:950;
    letter-spacing:.07em;

    text-transform:uppercase;

    box-shadow:
        0 6px 14px rgba(15,23,42,.24);
}


/* =========================================================
   ICON
   ========================================================= */

.plotink-hero-action .action-icon{
    width:62px;
    height:62px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:9px;

    border-radius:19px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eaf0f7
        );

    color:#b91c1c;

    font-size:34px;
    line-height:1;

    box-shadow:
        0 10px 22px rgba(15,23,42,.14),
        inset 0 1px 0 #ffffff;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.plotink-hero-action:hover .action-icon{
    transform:translateY(-3px) scale(1.08);

    box-shadow:
        0 14px 28px rgba(15,23,42,.18);
}


/* =========================================================
   TITLE
   ========================================================= */

.plotink-hero-action h4{
    margin:0 0 5px;

    color:#111827;

    font-size:clamp(16px,1.55vw,22px);
    line-height:1.05;

    font-weight:950;
    letter-spacing:-.045em;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.plotink-hero-action p{
    margin:0 0 9px;

    max-width:145px;

    color:#596579;

    font-size:10.5px;
    line-height:1.2;

    font-weight:750;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.plotink-hero-action .action-button{
    display:block;

    width:100%;
    max-width:132px;

    min-height:30px;

    padding:8px 7px;

    border-radius:9px;

    color:#ffffff;

    font-size:9px;
    line-height:1;

    font-weight:950;
    letter-spacing:.025em;

    text-transform:uppercase;

    box-shadow:
        0 7px 15px rgba(15,23,42,.18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.plotink-hero-action:hover .action-button{
    transform:translateY(-1px);

    filter:saturate(1.08);

    box-shadow:
        0 10px 20px rgba(15,23,42,.22);
}


/* =========================================================
   INDIVIDUAL CARD ACCENTS
   ========================================================= */

.plotink-hero-action:nth-child(1) .action-icon{
    color:#198754;
}

.plotink-hero-action:nth-child(2) .action-icon{
    color:#0d6efd;
}

.plotink-hero-action:nth-child(3) .action-icon{
    color:#c98a00;
}

.plotink-hero-action:nth-child(4) .action-icon{
    color:#0891b2;
}

.plotink-hero-action:nth-child(5) .action-icon{
    color:#7c3aed;
}


/* =========================================================
   MOBILE — 3 SQUARE CARDS
   ========================================================= */

@media(max-width:767.98px){

    .plotink-hero-actions{
        margin-top:18px;
    }

    .plotink-hero-actions h3{
        font-size:19px !important;
        line-height:1.12;
        margin-bottom:5px !important;
    }

    .plotink-hero-actions > p{
        font-size:9px !important;
        margin-bottom:4px !important;
    }

    .plotink-hero-action-wrap{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:7px;

        padding:14px 0 18px;
    }

    .plotink-hero-action{
        aspect-ratio:1 / 1;

        padding:10px 5px 8px;

        border-radius:17px;

        box-shadow:
            0 10px 24px rgba(15,23,42,.20),
            inset 0 1px 0 #ffffff;
    }

    .plotink-hero-action::before{
        border-radius:18px;
    }

    .plotink-hero-action .smart-tag{
        top:-8px;

        padding:4px 6px;

        font-size:6.5px;
        letter-spacing:.045em;
    }

    .plotink-hero-action .action-icon{
        width:47px;
        height:47px;

        margin-bottom:6px;

        border-radius:14px;

        font-size:27px;
    }

    .plotink-hero-action h4{
        margin-bottom:4px;

        font-size:13px;
        line-height:1.05;

        font-weight:950;
    }

    .plotink-hero-action p{
        margin-bottom:7px;

        max-width:94px;

        font-size:8px;
        line-height:1.15;

        font-weight:750;
    }

    .plotink-hero-action .action-button{
        max-width:100%;

        min-height:25px;

        padding:7px 3px;

        border-radius:8px;

        font-size:7.5px;
    }

    .plotink-hero-action:active{
        transform:scale(.97);
    }
}


/* =========================================================
   SMALL MOBILE — 480px
   ========================================================= */

@media(max-width:480px){

    .plotink-hero-action-wrap{
        gap:6px;
    }

    .plotink-hero-action{
        padding:9px 4px 7px;
        border-radius:15px;
    }

    .plotink-hero-action::before{
        border-radius:16px;
    }

    .plotink-hero-action .action-icon{
        width:43px;
        height:43px;

        margin-bottom:5px;

        border-radius:13px;

        font-size:24px;
    }

    .plotink-hero-action h4{
        font-size:12px;
    }

    .plotink-hero-action p{
        font-size:7.2px;
        max-width:82px;
        margin-bottom:6px;
    }

    .plotink-hero-action .action-button{
        min-height:23px;

        padding:6px 2px;

        font-size:6.7px;
    }

    .plotink-hero-action .smart-tag{
        top:-7px;

        padding:3px 5px;

        font-size:6px;
    }
}


/* =========================================================
   VERY SMALL MOBILE — 360px
   ========================================================= */

@media(max-width:360px){

    .plotink-hero-action-wrap{
        gap:5px;
    }

    .plotink-hero-action{
        padding:8px 3px 6px;
        border-radius:14px;
    }

    .plotink-hero-action .action-icon{
        width:39px;
        height:39px;

        margin-bottom:5px;

        border-radius:12px;

        font-size:22px;
    }

    .plotink-hero-action h4{
        font-size:11px;
    }

    .plotink-hero-action p{
        font-size:6.7px;
        max-width:74px;
        margin-bottom:5px;
    }

    .plotink-hero-action .action-button{
        min-height:21px;

        padding:5px 2px;

        font-size:6px;
    }
}


/* =========================================================
   TOUCH
   ========================================================= */

@media(pointer:coarse){

    .plotink-hero-action{
        -webkit-tap-highlight-color:transparent;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

    .plotink-hero-action,
    .plotink-hero-action *,
    .plotink-hero-action::before{
        animation:none !important;
        transition:none !important;
    }
}