
/* ==========================================
   WebToolRush - homepage.css
   Homepage specific styles
========================================== */

/* Hero */
.hero{
    position:relative;
    padding:120px 0 70px;
    text-align:center;
    overflow:hidden;
}
@media(max-width:768px){

.hero::before,
.hero::after{

display:none;
padding:100px 0 50px;

}

}
.hero::before{
    background:#4f46e5;
    top:-220px;
    left:-180px;
}
.hero::after{
    background:#9333ea;
    bottom:-220px;
    right:-180px;
}
.hero .container{position:relative;z-index:1;}

.badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    margin-bottom:15px;
}

.hero h1{
    font-size:60px;
    line-height:1.1;
    max-width:780px;
    margin:0 auto 18px;
    font-weight:800;
}

.hero h1 span{
    background:linear-gradient(90deg,#60a5fa,#8b5cf6,#c084fc);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    max-width:900px;
    margin:0 auto 25px;
    font-size:16px;
    line-height:1.7;
}

.hero-search{
    max-width:780px;
    margin:0 auto 22px;
    position:relative;
}
.hero-search i{
    position:absolute;
    left:22px;
    top:50%;
    transform:translateY(-50%);
    color:#94a3b8;
    font-size:18px;
}
.hero-search input{
    width:100%;
    
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    background:#1e293b;
    color:#fff;
    font-size:16px;
    padding-left:58px;
    
    padding:16px 18px 16px 52px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

/* Stats */

.hero-stats{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.stat-card{
    background:#1e293b;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:25px;
}
.stat-card h3{
    font-size:34px;
    margin-bottom:6px;
}
.stat-card p{
    color:#94a3b8;
}

/* Sections */

.tool-section,
.seo-section,
.faq-section,
.more-tools,
.newsletter-section{
    padding:70px 0;
}
.seo-section{
    padding:30px 0 30px;
}

.section-heading{
    text-align:center;
    margin-bottom:50px;
}
.section-heading h2{
    font-size:40px;
    margin-bottom:15px;
}
.section-heading p{
    max-width:800px;
    margin:auto;
    color:#94a3b8;
    line-height:1.8;
}

/* Cards */

.tools-grid,
.category-grid,
.why-grid,
.latest-grid,
.more-grid{
    display:grid;
    gap:25px;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}

.tool-card,
.category-card,
.why-card,
.latest-card,
.more-card{
    background:#1e293b;
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
    padding:28px;
    transition:.25s;
}

.tool-card:hover,
.category-card:hover,
.more-card:hover{
    transform:translateY(-6px);
    border-color:#8b5cf6;
}

.tool-icon,
.category-icon,
.offer-icon{
    font-size:42px;
    margin-bottom:15px;
}

.tool-card h3,
.category-card h3,
.why-card h3{
    margin-bottom:10px;
}

.tool-card p,
.category-card p,
.why-card p,
.latest-card p{
    color:#94a3b8;
    line-height:1.8;
}

/* Adsense */

.adsense-box{
    margin:20px 0;
    padding:45px;
    border-radius:20px;
    text-align:center;
    border:2px dashed rgba(255,255,255,.12);
    background:#1e293b;
}

/* SEO */

.seo-wrapper{
    max-width:1100px;
    margin:auto;
}
.seo-wrapper h2,
.seo-wrapper h3{
    margin-bottom:18px;
}
.seo-wrapper p{
    color:#cbd5e1;
    line-height:2;
    margin-bottom:18px;
}

/* Homepage FAQ */

.faq-grid{
    max-width:1000px;
    margin:auto;
}
.faq-grid .faq-item{
    background:#1e293b;
    border:1px solid rgba(255,255,255,.06);
    padding:24px;
    border-radius:18px;
    margin-bottom:20px;
}
.faq-grid h3{
    margin-bottom:10px;
}
.faq-grid p{
    color:#cbd5e1;
    line-height:1.9;
}

/* Newsletter */

.newsletter-box{
    background:linear-gradient(135deg,#4f46e5,#9333ea);
    border-radius:24px;
    padding:60px;
    text-align:center;
}
.newsletter-box h2{
    font-size:42px;
    margin-bottom:15px;
}
.newsletter-form{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:30px;
}
.newsletter-form input{
    width:420px;
    max-width:100%;
    padding:18px;
    border:none;
    border-radius:14px;
}
.newsletter-form button{
    padding:18px 28px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    font-weight:700;
}

@media(max-width:991px){
    .hero h1{font-size:42px;}
    .hero-stats{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:576px){

.hero h1{
    font-size:34px;
    line-height:1.2;
}

}



@media(max-width:768px){

.hero-content h1{
    font-size:38px;
}

}

.trending-tools{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.trending-tools .label{
    color:#fff;
    font-weight:700;
    margin-right:5px;
}

.trending-tools a{
    text-decoration:none;
    color:#fff;
    background:#1f2937;
    border:1px solid rgba(255,255,255,.08);
    padding:8px 14px;
    border-radius:30px;
    transition:.3s;
    font-size:14px;
}

.trending-tools a:hover{
    background:#8b5cf6;
}

.secondary-btn{

background:transparent;

border:2px solid rgba(255,255,255,.15);

color:#fff;

}

.secondary-btn:hover{

background:#8b5cf6;

border-color:#8b5cf6;

}

/* ==========================================
   POPULAR TOOLS SECTION
========================================== */

.popular-tools-section{
    padding:80px 0;
}

.popular-tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:28px;
    margin-top:50px;
}

.popular-tool-card{

    position:relative;

    display:flex;
    flex-direction:column;

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:30px;

    text-decoration:none;

    overflow:hidden;

    transition:.35s ease;

    min-height:340px;

}

.popular-tool-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:4px;

    background:linear-gradient(90deg,#60a5fa,#8b5cf6,#c084fc);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.popular-tool-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:0 20px 45px rgba(139,92,246,.18);

}

.popular-tool-card:hover::before{

    transform:scaleX(1);

}

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

.popular-tool-card .tool-icon{

    width:70px;
    height:70px;

    border-radius:18px;

    background:rgba(139,92,246,.12);

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

    margin-bottom:20px;

}

.popular-tool-card .tool-icon i{

    font-size:32px;

    color:#8b5cf6;

    transition:.35s;

}

.popular-tool-card:hover .tool-icon i{

    transform:scale(1.15) rotate(8deg);

}

/* ================= BADGE ================= */

.tool-badge{

    display:inline-flex;

    width:max-content;

    padding:7px 14px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

    margin-bottom:18px;

    letter-spacing:.3px;

}

.tool-badge.image{

    background:rgba(59,130,246,.15);

    color:#60a5fa;

}

.tool-badge.pdf{

    background:rgba(239,68,68,.15);

    color:#f87171;

}

.tool-badge.seo{

    background:rgba(16,185,129,.15);

    color:#34d399;

}

.tool-badge.utility{

    background:rgba(168,85,247,.15);

    color:#c084fc;

}

.tool-badge.social{

    background:rgba(236,72,153,.15);

    color:#f472b6;

}

.tool-badge.writing{

    background:rgba(245,158,11,.15);

    color:#fbbf24;

}

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

.popular-tool-card h3{

    color:#fff;

    font-size:23px;

    line-height:1.3;

    margin-bottom:14px;

}

/* ================= DESCRIPTION ================= */

.popular-tool-card p{

    color:#94a3b8;

    line-height:1.8;

    flex:1;

    margin-bottom:28px;

}

/* ================= FOOTER ================= */

.tool-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding-top:18px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#8b5cf6;

    font-weight:700;

}

.tool-footer i{

    transition:.3s;

}

.popular-tool-card:hover .tool-footer i{

    transform:translateX(6px);

}

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

.popular-tools-btn{

    text-align:center;

    margin-top:55px;

}

.popular-tools-btn .primary-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

}

.popular-tools-btn .primary-btn i{

    transition:.3s;

}

.popular-tools-btn .primary-btn:hover i{

    transform:translateX(5px);

}

/* ================= RESPONSIVE ================= */

@media(max-width:991px){

.popular-tools-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.popular-tools-grid{

    grid-template-columns:1fr;

}

.popular-tool-card{

    padding:24px;

    min-height:auto;

}

.popular-tool-card h3{

    font-size:21px;

}

.popular-tool-card .tool-icon{

    width:60px;

    height:60px;

}

.popular-tool-card .tool-icon i{

    font-size:28px;

}

}

/* ==========================================
   CATEGORY SECTION
========================================== */

.categories-section{
    padding:40px 0;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:28px;
    margin-top:50px;
}

.category-card{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:30px;

    text-decoration:none;

    transition:.35s;

    display:flex;

    flex-direction:column;

}

.category-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:0 20px 45px rgba(139,92,246,.18);

}

.category-icon{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:rgba(139,92,246,.12);

    margin-bottom:20px;

}

.category-icon i{

    font-size:30px;

    color:#8b5cf6;

}

.category-count{

    display:inline-block;

    width:max-content;

    padding:6px 12px;

    border-radius:30px;

    background:rgba(139,92,246,.15);

    color:#c084fc;

    font-size:12px;

    font-weight:700;

    margin-bottom:18px;

}

.category-card h3{

    color:#fff;

    margin-bottom:12px;

    font-size:24px;

}

.category-card p{

    color:#94a3b8;

    line-height:1.8;

    margin-bottom:22px;

}

.category-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}

.category-tags span{

    background:#111827;

    color:#cbd5e1;

    padding:7px 12px;

    border-radius:30px;

    font-size:13px;

}

.category-footer{

    margin-top:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#8b5cf6;

    font-weight:700;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:18px;

}

.category-footer i{

    transition:.3s;

}

.category-card:hover .category-footer i{

    transform:translateX(6px);

}

@media(max-width:768px){

    .categories-grid{
        grid-template-columns:1fr;
    }

}

/* ==========================================
   WHY CHOOSE WEBTOOLRUSH
========================================== */

.why-section{
    padding:40px 0;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:50px;
}

.why-card{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:35px 30px;

    transition:.35s;

    text-align:left;

}

.why-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:0 20px 45px rgba(139,92,246,.18);

}

.why-icon{

    width:72px;

    height:72px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:rgba(139,92,246,.12);

    margin-bottom:22px;

}

.why-icon i{

    font-size:30px;

    color:#8b5cf6;

    transition:.3s;

}

.why-card:hover .why-icon i{

    transform:scale(1.15) rotate(8deg);

}

.why-card h3{

    color:#fff;

    font-size:24px;

    margin-bottom:14px;

}

.why-card p{

    color:#94a3b8;

    line-height:1.8;

}

/* Responsive */

@media(max-width:991px){

.why-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.why-grid{

    grid-template-columns:1fr;

}

.why-card{

    padding:28px;

}

}

/*==========================================
LATEST TOOLS
==========================================*/

.latest-tools-section{
    padding:90px 0;
}

.latest-tools-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:50px;
}

.latest-tool-card{

    position:relative;

    display:flex;
    flex-direction:column;

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:30px;

    text-decoration:none;

    overflow:hidden;

    transition:.35s;

}

.latest-tool-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:0 20px 45px rgba(139,92,246,.18);

}

.latest-tool-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:4px;

    background:linear-gradient(90deg,#60a5fa,#8b5cf6);

    transform:scaleX(0);

    transition:.35s;

}

.latest-tool-card:hover::before{

    transform:scaleX(1);

}

.latest-tool-badge{

    position:absolute;

    right:20px;
    top:20px;

    background:#22c55e;

    color:#fff;

    padding:5px 10px;

    border-radius:30px;

    font-size:11px;

    font-weight:700;

}

.latest-tool-icon{

    width:70px;
    height:70px;

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

    border-radius:18px;

    background:rgba(139,92,246,.12);

    margin-bottom:22px;

}

.latest-tool-icon i{

    font-size:30px;

    color:#8b5cf6;

    transition:.3s;

}

.latest-tool-card:hover .latest-tool-icon i{

    transform:scale(1.15) rotate(8deg);

}

.latest-tool-card h3{

    color:#fff;

    font-size:24px;

    margin-bottom:14px;

}

.latest-tool-card p{

    color:#94a3b8;

    line-height:1.8;

    flex:1;

    margin-bottom:28px;

}

.latest-tool-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:18px;

    color:#8b5cf6;

    font-weight:700;

}

.latest-tool-footer i{

    transition:.3s;

}

.latest-tool-card:hover .latest-tool-footer i{

    transform:translateX(6px);

}

/* Responsive */

@media(max-width:991px){

.latest-tools-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.latest-tools-grid{

    grid-template-columns:1fr;

}

.latest-tool-card{

    padding:24px;

}

.latest-tool-icon{

    width:60px;

    height:60px;

}

.latest-tool-icon i{

    font-size:28px;

}

.latest-tool-card h3{

    font-size:21px;

}

}

/*==========================================
HOMEPAGE FAQ
==========================================*/

.homepage-faq{
    max-width:950px;
    margin:50px auto 0;
}

.homepage-faq-item{

    background:#1e293b;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    margin-bottom:18px;

    overflow:hidden;

    transition:.35s;

}

.homepage-faq-item:hover{

    border-color:#8b5cf6;

    box-shadow:0 15px 35px rgba(139,92,246,.12);

}

.homepage-faq-question{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:24px 28px;

    background:none;

    border:none;

    cursor:pointer;

    text-align:left;

}

.homepage-faq-question span{

    color:#fff;

    font-size:20px;

    font-weight:600;

    line-height:1.5;

}

.homepage-faq-question i{

    font-size:18px;

    color:#8b5cf6;

    transition:.3s;

}

.homepage-faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

}

.homepage-faq-answer p{

    padding:0 28px 24px;

    color:#94a3b8;

    line-height:1.9;

    margin:0;

}

.homepage-faq-item.active{

    border-color:#8b5cf6;

}

.homepage-faq-item.active .homepage-faq-answer{

    max-height:250px;

}

.homepage-faq-item.active .homepage-faq-question i{

    transform:rotate(45deg);

}

/* Mobile */

@media(max-width:768px){

.homepage-faq-question{

    padding:20px;

}

.homepage-faq-question span{

    font-size:17px;

}

.homepage-faq-answer p{

    padding:0 20px 20px;

}

}

.hero-search{
    position:relative;
}

.search-results{

    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    margin-top:12px;

    background:#1e293b;
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;

    z-index:999;
    box-shadow:0 20px 40px rgba(0,0,0,.35);

    max-height:560px;     /* 6 results comfortably */
    overflow-y:auto;      /* scroll if more than 6 */
    
    padding:8px 0;
    




}

.search-item{
    display:flex;
    align-items:center;
    width:100%;
    padding:16px 20px;
    color:#fff;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.06);
    transition:all .25s ease;
 
    
}

.search-item:last-child{
    border-bottom:none;
    margin-bottom:8px;
    
}

.search-item:hover{
    background:rgba(139,92,246,.12);
    padding-left:28px;
}

.search-info strong{
    display:block;
    font-size:18px;
    font-weight:600;
    margin-bottom:8px;
    color:#fff;
}

.search-info small{
    display:inline-block;
    padding:5px 12px;
    border-radius:30px;
    background:rgba(139,92,246,.18);
    color:#c4b5fd;
    font-size:11px;
    margin-top:8px;
    font-weight:600;
}







.search-item i{

color:#8b5cf6;

font-size:14px;

}



.search-results a{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:14px 18px;

    color:#fff;

    text-decoration:none;

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.25s;

}

.search-results a:last-child{

    border-bottom:none;

}

.search-results a:hover{

    background:rgba(139,92,246,.15);

}
.search-results strong{

    display:block;

    font-size:16px;

    font-weight:600;

}
.search-results small{

    display:inline-block;
    margin-top:6px;
    padding:4px 10px;
    background:rgba(139,92,246,.15);
    color:#b794f6;
    border-radius:20px;
    font-size:12px;

}

.no-results{

    padding:18px;

    color:#94a3b8;

    text-align:center;

}



.search-left{

    display:flex;

    align-items:center;

    gap:15px;

    width:100%;

}

.search-icon{

    width:44px;

    height:44px;

    min-width:44px;

    min-height:44px;

    border-radius:12px;

    background:rgba(139,92,246,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

}


.search-icon i{

    font-size:18px;

    color:#8b5cf6;

    display:block;

    line-height:1;

}

.search-heading{
    padding:14px 20px;
    background:#141d2d;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:13px;
    font-weight:600;
    color:#94a3b8;
    text-transform:uppercase;
    letter-spacing:.5px;
}