/* ==========================================================
   TrueVitaHub Hero
   ========================================================== */

.tvh-hero{
    position:relative;
    overflow:hidden;
    padding:100px 0;
    background:#ffffff;
}

.tvh-container{
    width:min(1280px,92%);
    margin:0 auto;
}

.tvh-hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:80px;
}

/* ==========================================================
   LEFT CONTENT
========================================================== */

.tvh-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 20px;

    margin-bottom:32px;

    border-radius:999px;

    background:rgba(255,255,255,.75);

    border:1px solid rgba(37,99,235,.12);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    box-shadow:0 12px 30px rgba(37,99,235,.08);

}

.tvh-badge-icon{

    display:flex;
    align-items:center;
    justify-content:center;

    width:32px;
    height:32px;

    border-radius:50%;

    background:#eef4ff;

    font-size:16px;

}

.tvh-badge-text{

    color:#2563eb;

    font-size:14px;

    font-weight:700;

    letter-spacing:.2px;

}

/* ==========================================================
   TITLE
========================================================== */

.tvh-title{

    margin:0 0 26px;

    font-size:72px;

    font-weight:800;

    line-height:1.05;

    letter-spacing:-2px;

    color:#0f172a;

}

.tvh-title span{

    background:linear-gradient(
        135deg,
        #2563eb 0%,
        #4f7bff 55%,
        #38bdf8 100%
    );

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

}

/* ==========================================================
   DESCRIPTION
========================================================== */

.tvh-description{

    max-width:690px;

    margin-bottom:42px;

    color:#64748b;

    font-size:20px;

    line-height:1.9;

    font-weight:400;

}

/* Small highlight */

.tvh-description strong{

    color:#0f172a;

    font-weight:700;

}

/* ==========================================================
   SEARCH BAR
========================================================== */

.tvh-search-form{

    display:flex;
    align-items:center;

    position:relative;

    overflow:hidden;

    margin-bottom:22px;

    border-radius:22px;

    background:rgba(255,255,255,.92);

    border:1px solid rgba(37,99,235,.10);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    box-shadow:
        0 18px 45px rgba(15,23,42,.08),
        0 5px 15px rgba(37,99,235,.05);

    transition:.30s;

}

.tvh-search-form:hover{

    box-shadow:
        0 22px 55px rgba(37,99,235,.12),
        0 10px 30px rgba(15,23,42,.06);

}

.tvh-search-form:focus-within{

    border-color:#2563eb;

    box-shadow:
        0 0 0 4px rgba(37,99,235,.08),
        0 25px 60px rgba(37,99,235,.16);

}

.tvh-search-form input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    padding:22px 28px;

    font-size:17px;

    color:#0f172a;

}

.tvh-search-form input::placeholder{

    color:#94a3b8;

}

.tvh-search-form button{

    border:none;

    cursor:pointer;

    padding:20px 34px;

    margin:8px;

    border-radius:14px;

    font-size:15px;

    font-weight:700;

    color:#ffffff;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f7bff
    );

    transition:.30s;

}

.tvh-search-form button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 28px rgba(37,99,235,.25);

}

/* ==========================================================
   POPULAR SEARCHES
========================================================== */

.tvh-popular-searches{

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:45px;

}

.tvh-popular-searches span{

    font-size:14px;

    font-weight:700;

    color:#64748b;

}

.tvh-popular-searches a{

    text-decoration:none;

    padding:8px 14px;

    border-radius:999px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    color:#334155;

    font-size:14px;

    transition:.25s;

}

.tvh-popular-searches a:hover{

    color:#2563eb;

    border-color:#2563eb;

    background:#eef4ff;

    transform:translateY(-2px);

}

/* ==========================================================
   HERO BUTTONS
========================================================== */

.tvh-hero-buttons{

    display:flex;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:55px;

}

.tvh-btn-primary,
.tvh-btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:190px;

    padding:18px 34px;

    border-radius:16px;

    text-decoration:none;

    font-size:15px;

    font-weight:700;

    transition:all .30s ease;

}

/* ===========================
   PRIMARY
=========================== */

.tvh-btn-primary{

    color:#ffffff;

    background:linear-gradient(
        135deg,
        #2563eb 0%,
        #4f7bff 100%
    );

    box-shadow:
        0 18px 35px rgba(37,99,235,.22);

}

.tvh-btn-primary:hover{

    color:#ffffff;

    transform:
        translateY(-4px)
        scale(1.02);

    box-shadow:
        0 28px 60px rgba(37,99,235,.28);

}

/* ===========================
   SECONDARY
=========================== */

.tvh-btn-secondary{

    color:#0f172a;

    background:rgba(255,255,255,.82);

    border:1px solid rgba(37,99,235,.10);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

}

.tvh-btn-secondary:hover{

    color:#2563eb;

    border-color:#2563eb;

    background:#ffffff;

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 36px rgba(37,99,235,.12);

}

/* Click */

.tvh-btn-primary:active,
.tvh-btn-secondary:active{

    transform:scale(.98);

}
/* ==========================================================
   HERO STATISTICS
========================================================== */

.tvh-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

    margin-top:10px;

}

.tvh-stat{

    position:relative;

    padding:22px 18px;

    text-align:center;

    border-radius:18px;

    background:rgba(255,255,255,.78);

    border:1px solid rgba(37,99,235,.08);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    box-shadow:
        0 10px 28px rgba(15,23,42,.05);

    transition:all .30s ease;

}

.tvh-stat:hover{

    transform:translateY(-6px);

    border-color:rgba(37,99,235,.18);

    box-shadow:
        0 22px 45px rgba(37,99,235,.12);

}

.tvh-stat h3{

    margin:0;

    font-size:34px;

    line-height:1;

    font-weight:800;

    background:linear-gradient(
        135deg,
        #2563eb,
        #4f7bff
    );

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

}

.tvh-stat span{

    display:block;

    margin-top:10px;

    color:#64748b;

    font-size:14px;

    font-weight:600;

    letter-spacing:.3px;

}

/* Small Accent Line */

.tvh-stat::before{

    content:"";

    position:absolute;

    top:0;

    left:18%;

    width:64%;

    height:3px;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        #2563eb,
        #38bdf8
    );

    opacity:.9;

}
/* ==========================================================
   RIGHT VISUAL
========================================================== */

.tvh-hero-visual{
    position:relative;
    min-height:620px;
}

.tvh-card{
    position:absolute;
    width:280px;
    padding:26px;
    border-radius:24px;
    background:#ffffff;
    border:1px solid #edf2f7;
    box-shadow:
        0 20px 50px rgba(15,23,42,.08),
        0 8px 20px rgba(15,23,42,.04);
    transition:.35s ease;
}

.tvh-card:hover{
    transform:translateY(-8px);
    box-shadow:
        0 35px 80px rgba(37,99,235,.18),
        0 15px 30px rgba(15,23,42,.08);
}

.tvh-card-header{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:700;
    color:#2563eb;
    background:#eef4ff;
    padding:8px 14px;
    border-radius:999px;
    margin-bottom:18px;
}

.tvh-card h4{
    margin:0;
    font-size:24px;
    color:#0f172a;
}

.tvh-card p{
    margin-top:12px;
    color:#64748b;
    line-height:1.7;
}

/* ==========================================================
   FLOATING CARD POSITIONS
========================================================== */

.card-1{

    top:20px;

    left:10px;

    z-index:3;

}

.card-2{

    top:210px;

    right:10px;

    width:240px;

    z-index:2;

}

.card-3{

    bottom:30px;

    left:70px;

    width:230px;

    z-index:1;

}

/* ==========================================================
   CARD VARIANTS
========================================================== */

/* Featured */

.card-1{

    border-top:4px solid #2563eb;

}

/* Trending */

.card-2{

    border-left:4px solid #7c3aed;

}

.card-2 .tvh-card-header{

    background:#f3e8ff;

    color:#7c3aed;

}

/* New Launch */

.card-3{

    border-left:4px solid #ff8c00;

}

.card-3 .tvh-card-header{

    background:#fff4e8;

    color:#ff8c00;

}

/* ==========================================================
   FLOATING ANIMATION
========================================================== */

.card-1{

    animation:tvhFloat1 6s ease-in-out infinite;

}

.card-2{

    animation:tvhFloat2 5s ease-in-out infinite;

}

.card-3{

    animation:tvhFloat3 7s ease-in-out infinite;

}

@keyframes tvhFloat1{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-14px);

    }

}

@keyframes tvhFloat2{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(10px);

    }

}

@keyframes tvhFloat3{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

}

/* ==========================================================
   FEATURED TOOL CARD
========================================================== */

.tvh-card{

    position:absolute;

    width:330px;

    padding:30px;

    border-radius:28px;

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(37,99,235,.08);

    box-shadow:
        0 25px 70px rgba(15,23,42,.10),
        0 8px 25px rgba(37,99,235,.05);

    transition:.35s ease;

}

.tvh-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 35px 90px rgba(37,99,235,.18);

}

/* ===================================== */

.tvh-card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.tvh-card-logo{

    width:64px;

    height:64px;

    border-radius:18px;

    background:#f8fbff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    border:1px solid #edf2f7;

}

.tvh-card-rating{

    text-align:right;

}

.tvh-card-rating span{

    color:#f59e0b;

    letter-spacing:2px;

    font-size:15px;

}

.tvh-card-rating small{

    display:block;

    margin-top:4px;

    color:#64748b;

    font-weight:700;

}

/* ===================================== */

.tvh-card-header{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:#eef4ff;

    color:#2563eb;

    font-size:13px;

    font-weight:700;

    margin-bottom:22px;

}

/* ===================================== */

.tvh-card h3{

    margin:0 0 14px;

    font-size:32px;

    color:#0f172a;

    font-weight:800;

}

.tvh-card p{

    margin:0;

    color:#64748b;

    line-height:1.8;

    font-size:16px;

}

/* ===================================== */

.tvh-card-features{

    list-style:none;

    padding:0;

    margin:26px 0;

}

.tvh-card-features li{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px 0;

    color:#334155;

    font-size:15px;

    font-weight:500;

}

/* ===================================== */

.tvh-card-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:26px;

    padding-top:22px;

    border-top:1px solid #edf2f7;

}

.tvh-price{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-weight:700;

    color:#2563eb;

}

.tvh-price::before{

    content:"●";

    color:#22c55e;

    font-size:11px;

}

.tvh-card-footer a{

    color:#2563eb;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.tvh-card-footer a:hover{

    color:#1d4ed8;

}

/* ==========================================================
   HERO ENTRANCE
========================================================== */

.tvh-hero-content{

    animation:tvhFadeLeft .9s cubic-bezier(.22,.61,.36,1) both;

}

.tvh-hero-visual{

    animation:tvhFadeRight 1s cubic-bezier(.22,.61,.36,1) both;

}

@keyframes tvhFadeLeft{

    from{

        opacity:0;

        transform:
            translateX(-45px)
            translateY(20px);

    }

    to{

        opacity:1;

        transform:
            translateX(0)
            translateY(0);

    }

}

@keyframes tvhFadeRight{

    from{

        opacity:0;

        transform:
            translateX(45px)
            translateY(20px);

    }

    to{

        opacity:1;

        transform:
            translateX(0)
            translateY(0);

    }

}

/* ==========================================================
   CARD HOVER EFFECT
========================================================== */

.tvh-card{

    transform-style:preserve-3d;

    will-change:transform;

}

.tvh-card:hover{

    transform:
        translateY(-12px)
        rotateX(2deg)
        rotateY(-2deg)
        scale(1.02);

}

/* ==========================================================
   BUTTON HOVER
========================================================== */

.tvh-btn-primary,
.tvh-btn-secondary{

    position:relative;

    overflow:hidden;

}

.tvh-btn-primary::before,
.tvh-btn-secondary::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.30),
        transparent
    );

    transform:translateX(-120%);

    transition:.6s;

}

.tvh-btn-primary:hover::before,
.tvh-btn-secondary:hover::before{

    transform:translateX(120%);

}

/* ==========================================================
   SEARCH HOVER
========================================================== */

.tvh-search-form{

    transition:
        transform .30s ease,
        box-shadow .30s ease;

}

.tvh-search-form:hover{

    transform:translateY(-2px);

}

/* ==========================================================
   STAT HOVER
========================================================== */

.tvh-stat{

    overflow:hidden;

}

.tvh-stat::after{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    transition:.8s;

}

.tvh-stat:hover::after{

    left:120%;

}

/* ==========================================================
   Glass Effect
========================================================== */

.tvh-card{

    background:rgba(255,255,255,.78);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

}

/* ==========================================================
   Gradient Background
========================================================== */

.tvh-hero{

    background:
        radial-gradient(circle at top right,#dbeafe 0%,transparent 35%),
        radial-gradient(circle at bottom left,#e0f2fe 0%,transparent 35%),
        #ffffff;

}

/* ==========================================================
   HERO WRAPPER
========================================================== */

.tvh-hero{
    position:relative;
    overflow:hidden;
    padding:120px 0 110px;
    background:
        radial-gradient(circle at 10% 15%, rgba(37,99,235,.08), transparent 30%),
        radial-gradient(circle at 90% 12%, rgba(56,189,248,.10), transparent 28%),
        radial-gradient(circle at 85% 85%, rgba(255,140,0,.08), transparent 24%),
        linear-gradient(180deg,#ffffff 0%,#f8fbff 55%,#ffffff 100%);
}

/* Background Layer */

.tvh-hero-bg{

    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;

}

/* Blue Blur */

.tvh-hero-bg::before{

    content:"";

    position:absolute;

    width:520px;
    height:520px;

    right:-180px;
    top:-180px;

    border-radius:50%;

    background:#2563eb;

    opacity:.08;

    filter:blur(120px);

}

/* Sky Blur */

.tvh-hero-bg::after{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    left:-140px;
    bottom:-140px;

    border-radius:50%;

    background:#38bdf8;

    opacity:.10;

    filter:blur(120px);

}

/* Orange Glow */

.tvh-hero::after{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    right:22%;
    bottom:-120px;

    border-radius:50%;

    background:#ff8c00;

    opacity:.05;

    filter:blur(120px);

}

/* ==========================================================
   CONTAINER
========================================================== */

.tvh-container{

    width:min(1320px,92%);

    margin-inline:auto;

    position:relative;

    z-index:2;

}

/* ==========================================================
   GRID
========================================================== */

.tvh-hero-grid{

    display:grid;

    grid-template-columns:1.08fr .92fr;

    align-items:center;

    gap:90px;

    min-height:720px;

}

/* ==========================================================
   HERO CONTENT
========================================================== */

.tvh-hero-content{

    position:relative;

    z-index:5;

    max-width:680px;

}

/* ==========================================================
   HERO VISUAL
========================================================== */

.tvh-hero-visual{

    position:relative;

    min-height:700px;

    display:flex;

    align-items:center;

    justify-content:center;

}


/* ==========================================================
   HERO RESPONSIVE
========================================================== */

/* ===========================
   Large Tablet
=========================== */

@media (max-width:1200px){

    .tvh-hero{

        padding:90px 0;

    }

    .tvh-hero-grid{

        grid-template-columns:1fr;

        gap:70px;

        text-align:center;

        min-height:auto;

    }

    .tvh-hero-content{

        max-width:800px;

        margin:auto;

    }

    .tvh-description{

        margin-inline:auto;

    }

    .tvh-search-form{

        max-width:700px;

        margin:0 auto 22px;

    }

    .tvh-popular-searches{

        justify-content:center;

    }

    .tvh-hero-buttons{

        justify-content:center;

    }

    .tvh-stats{

        max-width:760px;

        margin:20px auto 0;

    }

    .tvh-hero-visual{

        min-height:520px;

    }

}

/* ===========================
   Tablet
=========================== */

@media (max-width:992px){

    .tvh-title{

        font-size:56px;

    }

    .tvh-description{

        font-size:18px;

    }

    .tvh-stats{

        grid-template-columns:repeat(2,1fr);

        gap:18px;

    }

    .tvh-card{

        position:relative;

        inset:auto;

        width:100%;

        max-width:420px;

        margin:auto;

    }

    .card-2,
    .card-3{

        display:none;

    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px){

    .tvh-hero{

        padding:70px 0;

    }

    .tvh-title{

        font-size:42px;

        letter-spacing:-1px;

    }

    .tvh-description{

        font-size:17px;

        line-height:1.8;

    }

    .tvh-search-form{

        flex-direction:column;

        padding:10px;

        border-radius:20px;

    }

    .tvh-search-form input{

        width:100%;

        padding:18px;

    }

    .tvh-search-form button{

        width:100%;

        margin:0;

    }

    .tvh-hero-buttons{

        flex-direction:column;

    }

    .tvh-btn-primary,
    .tvh-btn-secondary{

        width:100%;

    }

    .tvh-stats{

        grid-template-columns:1fr;

    }

    .tvh-popular-searches{

        justify-content:center;

    }

    .tvh-popular-searches a{

        font-size:13px;

    }

    .tvh-card{

        padding:24px;

    }

    .tvh-card h3{

        font-size:28px;

    }

}

/* ===========================
   Small Mobile
=========================== */

@media (max-width:480px){

    .tvh-title{

        font-size:34px;

    }

    .tvh-badge{

        padding:10px 16px;

    }

    .tvh-description{

        font-size:16px;

    }

    .tvh-card{

        padding:20px;

        border-radius:22px;

    }

    .tvh-card h3{

        font-size:24px;

    }

    .tvh-card-logo{

        width:54px;

        height:54px;

        font-size:26px;

    }

}