/* ==========================================================
   TrueVitaHub
   Featured AI Tools
========================================================== */

.tvh-featured-tools{

    padding:110px 0;

    background:#ffffff;

    position:relative;

    overflow:hidden;

}

/* ==========================================================
   Tool Grid
========================================================== */

.tvh-tools-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

    margin-top:70px;

}

/* ==========================================================
   Card
========================================================== */

.tvh-tool-card{

    position:relative;

    display:flex;

    flex-direction:column;

    background:#ffffff;

    border-radius:24px;

    padding:26px;

    border:1px solid rgba(15,23,42,.08);

    box-shadow:

        0 15px 40px rgba(15,23,42,.06);

    transition:all .35s ease;

    overflow:hidden;

}

.tvh-tool-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:linear-gradient(
        90deg,
        #2563eb,
        #4f7bff
    );

}

.tvh-tool-card:hover{

    transform:translateY(-8px);

    border-color:#2563eb;

    box-shadow:

        0 28px 70px rgba(37,99,235,.15);

}

/* ==========================================================
   Top
========================================================== */

.tvh-tool-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.tvh-tool-logo{

    width:64px;

    height:64px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    background:#eef4ff;

}

.tvh-tool-rating{

    color:#f59e0b;

    font-weight:700;

    font-size:15px;

}

/* ==========================================================
   Badge
========================================================== */

.tvh-tool-badge{

    display:inline-flex;

    align-self:flex-start;

    padding:8px 14px;

    border-radius:999px;

    background:#eef4ff;

    color:#2563eb;

    font-size:13px;

    font-weight:700;

    margin-bottom:18px;

}

/* ==========================================================
   Title
========================================================== */

.tvh-tool-card h3{

    margin:0 0 14px;

    font-size:24px;

    color:#0f172a;

    font-weight:800;

}

/* ==========================================================
   Description
========================================================== */

.tvh-tool-card p{

    margin:0 0 24px;

    color:#64748b;

    line-height:1.8;

    font-size:15px;

}

/* ==========================================================
   Meta
========================================================== */

.tvh-tool-meta{

    list-style:none;

    padding:0;

    margin:0 0 28px;

}

.tvh-tool-meta li{

    padding:8px 0;

    color:#475569;

    border-bottom:1px solid #edf2f7;

    font-size:14px;

}

/* ==========================================================
   Buttons
========================================================== */

.tvh-tool-actions{

    margin-top:auto;

}

.tvh-tool-actions .tvh-btn-primary{

    width:100%;

}

/* ==========================================================
   Footer
========================================================== */

.tvh-featured-footer{

    text-align:center;

    margin-top:70px;

}

/* ==========================================================
   Hover
========================================================== */

.tvh-tool-card:hover .tvh-tool-logo{

    transform:scale(1.08);

    transition:.30s;

}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:1200px){

    .tvh-tools-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:992px){

    .tvh-tools-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:576px){

    .tvh-featured-tools{

        padding:80px 0;

    }

    .tvh-tools-grid{

        grid-template-columns:1fr;

    }

    .tvh-tool-card{

        padding:22px;

    }

}