/* ===================================
   GLOBAL
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
     background:#f8fafc;
    color:#111827;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

.container{
    max-width:1320px;
}

.section-title{
    font-size:36px;
    font-weight:800;
    color:#0f172a;
}

.popular-card,
.category-card,
.tool-pill,
.quick-card,
.stats-wrapper,
.footer-card{
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}

/* ===================================
   NAVBAR
=================================== */
.custom-navbar{

    background:#ffffff;

    height:86px;

    border-bottom:1px solid #f1f5f9;

    padding:0;

    position:sticky;
    top:0;
    z-index:999;
}

.custom-navbar .container{

    height:100%;

    display:flex;

    align-items:center;
}

.logo{

    height:58px;

    width:auto;
    
}

/* Navigation */

.navbar-nav{

    gap:8px;
}

.nav-link{

    color:#475569 !important;

    font-size:14px;

    font-weight:600;

    padding:10px 14px !important;

    transition:.25s;
}

.nav-link:hover{

    color:#2563eb !important;
}

.nav-link.active{

    color:#2563eb !important;

    font-weight:700;
}

/* Start Button */

.start-btn{

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );

    color:#ffffff !important;

    border:none;

    border-radius:12px;

    font-size:14px;

    font-weight:700;

    padding:14px 28px;

    min-width:170px;

    text-align:center;

    transition:.3s;
}

.start-btn:hover{

    color:#ffffff !important;

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(37,99,235,.25);
}

/* Navbar Brand */

.navbar-brand{

    margin-right:50px;
}

/* Desktop Alignment */

@media(min-width:992px){

    .navbar-collapse{

        display:flex !important;

        justify-content:space-between;
        align-items:center;
    }

    .navbar-nav{

        margin:auto;
    }

}

/* ===================================
   HERO
=================================== */

.hero-section{

    padding-top:50px;
    padding-bottom:30px;
    background:#f8fbff;
}

.hero-badge{

    display:inline-block;

    background:#dbeafe;

    color:#2563eb;

    padding:
    12px 20px;

    border-radius:999px;

    font-size:14px;

    font-weight:700;

    margin-bottom:30px;
}

.hero-title{
    font-size:72px;
    line-height:1.1;
    font-weight:800;
    max-width:650px;
    color:#0f172a;

    margin-bottom:20px;
}

.hero-title span{

    color:#2583ff;
}

.hero-text{

    color:#64748b;

    font-size:21px;

    line-height:1.8;

    max-width:600px;

    margin-bottom:30px;
}

.hero-features{

    display:flex;

    flex-wrap:wrap;

    gap:15px;
}

.hero-features div{

    background:white;

    padding:
    12px 18px;

    border-radius:14px;

    font-weight:600;

    box-shadow:
    0 5px 15px
    rgba(
        0,
        0,
        0,
        .05
    );
}

.hero-buttons{

    margin-top:35px;

    display:flex;

    gap:15px;
}

.hero-btn{

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    ) !important;

    color:white !important;

    border:none;

    padding:
    16px 28px;

    border-radius:16px;

    font-weight:700;
}

.browse-btn{

    border:
    2px solid #2563eb !important;

    color:#2563eb !important;

    background:white;

    padding:
    16px 28px;

    border-radius:16px;

    font-weight:700;
}

/* ===================================
   QUICK CARD
=================================== */
.quick-card{
    background:#fff;
    border-radius:32px;
    padding:35px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.quick-card h3{

    text-align:center;

    font-size:32px;

    font-weight:800;

    margin-bottom:30px;
}

.quick-row{
    display:grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
}

.tool-box{
    height:78px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 22px;
    background:#fff;
}

.tool-box img{

    width:34px;

    height:34px;

    object-fit:contain;
}

.swap-arrow{
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:14px;
    color:#64748b;
    font-weight:500;
}

.more-link{

    color:#2563eb;

    font-weight:700;
}

/* ===================================
   STATS
=================================== */

.stats-section{

    padding: 15px 0 70px;
}

.stats-wrapper{
    background:white;
    border-radius:24px;
    padding:25px 40px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.stat-item{

    display:flex;

    align-items:center;

    gap:18px;
}

.stat-img{

    width:70px;

    height:70px;

    object-fit:contain;
}

.stat-item h3{

    margin:0;

    font-size:34px;

    font-weight:800;
}

.stat-item p{

    margin:0;

    color:#64748b;
}

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

.popular-tools{

    padding:
     15px 0 70px;
}

.popular-tools .section-title{

    font-size:42px;
}

.popular-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;

    height: 350px;      /* same height for all */

    background:#fff;
    border-radius:24px;
    padding:30px 20px;
    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

    transition:.3s;
}

.popular-card:hover{

    transform:
    translateY(-8px);

    color:#2563eb;
}

.tool-icon{

    width:56px;

    height:56px;

    object-fit:contain;

    margin-bottom:18px;
}

.popular-card h5{
    font-size:22px;
    font-weight:700;
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.popular-card p{
    color:#64748b;
    line-height:1.7;
    min-height:90px;
}

.card-arrow{
    margin-top:auto;
    font-size:30px;
    color:#2563eb;
    font-weight:700;
}


/* ===================================
   HOW IT WORKS
=================================== */

.how-it-works-section{
    padding: 15px 0 70px;
    background:#f8fafc;
}

.how-it-works-section .section-title{
    font-size:48px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:10px;
}

.process-wrapper{
    margin-top:60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.process-item{
    display:flex;
    align-items:center;
    gap:24px;
    position:relative;
    flex:1;
}

.process-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.process-icon img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.process-icon.purple{
    background:#ffffff;
}

.process-icon.blue{
    background:#eaf3ff;
}

.process-icon.green{
    background:#e9f8ec;
}

.process-content{
    position:relative;
    min-width:180px;
    padding-top:18px;
}

.step-number{
    position:relative;
    top:-28px;
    left:0;
    width:42px;
    height:42px;
    border-radius:50%;
    color:#ffffff;
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.purple-number{
    background:#ee71ff;
}

.blue-number{
    background:#1693ff;
}

.green-number{
    background:#22c55e;
}

.process-content h4{
    font-size:20px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:8px;
}

.process-content p{
    font-size:15px;
    line-height:1.7;
    color:#64748b;
    margin:0;
}

.process-line{
    width:180px;
    border-top:4px dotted #cbd5e1;
    margin-top:0;
    flex-shrink:0;
}

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

.category-section{
    padding: 15px 0 70px ;
}

.category-card{

    display:block;

    background:white;

    min-height:180px;
    border-radius:20px;
    padding:25px;

    color:#111827;

    box-shadow:
    0 10px 25px rgba(0,0,0,.05);

    transition:.3s;
}

.category-card:hover{

    transform:translateY(-8px);
}

.category-img{

    width:70px;
    height:70px;

    margin-bottom:20px;
}

.category-card h4{

    font-size:28px;

    font-weight:700;

    margin-bottom:12px;
}

.category-card p{

    color:#64748b;

    line-height:1.7;

    min-height:80px;
}

.category-card span{

    color:#2563eb;

    font-weight:700;
}

/* ===================================
   ALL TOOLS
=================================== */

.all-tools-section{
    padding: 15px 0 70px;
}

.tools-grid{

    margin-top:40px;

    display:grid;

    grid-template-columns:repeat(5,minmax(180px,1fr));

    gap:16px;
}

.tool-pill{
 height:60px;
    border-radius:14px;
    background:#fff;
    border:1px solid #edf0f5;

    padding:16px 18px;

    display:flex;

    align-items:center;

    gap:12px;

    color:#111827;

    font-weight:600;

    box-shadow:
    0 5px 15px rgba(0,0,0,.05);

    transition:.3s;
}

.tool-pill:hover{

    transform:translateY(-3px);

    color:#2563eb;
}

.tool-pill img{

    width:24px;
    height:24px;
}

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

.footer-section{

    padding: 20px 0 0 0;
   
}

.footer-card{

    background:white;



    padding: 40px 40px 30px 40px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.footer-logo{

    height:60px;

    margin-bottom:20px;
}

.footer-desc{

    color:#64748b;

    line-height:1.8;
}

.footer-social{

    display:flex;

    gap:12px;

    margin-top:20px;
}

.footer-social img{

    width:42px;
    height:42px;
}

.footer-section h5{

    font-weight:700;

    margin-bottom:20px;
}

.footer-section ul{

    list-style:none;

    padding:0;
}

.footer-section ul li{

    margin-bottom:12px;
}

.footer-section ul li a{

    color:#334155;
}

.footer-input{

    height:50px;

    border-radius:12px;
}

.footer-btn{

    margin-top:12px;

    width:100%;

    height:50px;

    border-radius:12px;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );

    border:none;

    color:white;

    font-weight:700;
}

.footer-bottom{

    margin-top:0px;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );

    color:white;

    padding: 16px 30px 16px 30px;


    display:flex;

    justify-content:space-between;

    align-items:center;
}

/* ===================================
   TABLET (768px - 991px)
=================================== */

@media (max-width:991px){

    .container{
        padding-left:20px;
        padding-right:20px;
    }

    .hero-section{
        text-align:center;
    }

    .hero-title{
        font-size:54px;
        max-width:100%;
    }

    .hero-text{
        font-size:18px;
        max-width:100%;
    }

    .hero-features{
        justify-content:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .quick-row{
        grid-template-columns:1fr;
    }

    .swap-arrow{
        transform:rotate(90deg);
        margin:10px 0;
    }

    .stats-wrapper{
        grid-template-columns:repeat(2,1fr);
        gap:25px;
    }

    .process-wrapper{
        flex-direction:column;
        gap:30px;
    }

    .process-line{
        display:none;
    }

    .tools-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
        gap:10px;
    }

     #navMenu{

        background:#ffffff;

        margin-top:15px;

        padding:20px;

        border-radius:18px;

        box-shadow:0 10px 30px rgba(0,0,0,.12);

    }

    #navMenu .navbar-nav{

        gap:8px;

    }

    #navMenu .nav-link{

        display:block;

        padding:12px 18px;

        border-radius:10px;

        text-align:center;

        font-size:16px;

    }

    #navMenu .nav-link:hover{

        background:#eef4ff;

    }

    #navMenu .start-btn{

        display:block;

        width:100%;

        margin-top:18px;

        text-align:center;

    }

    .dark-mode #navMenu{

        background:#1f2937;

    }

    .dark-mode #navMenu .nav-link:hover{

        background:#374151;

    }

}

/* ===================================
   MOBILE (max-width:767px)
=================================== */

@media (max-width:767px){

    /* Hide Sections */

    .quick-card{
        display:none;
    }

    .how-it-works-section{
        display:none;
    }

    .stats-section{
        display:none;
    }

    /* Hero */

    .hero-title{
        font-size:38px;
        line-height:1.2;
        text-align:center;
    }

    .hero-text{
        font-size:16px;
        text-align:center;
    }

    .hero-features{
        flex-direction:column;
        gap:10px;
    }

    .hero-features div{
        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
    }

    .hero-btn,
    .browse-btn{
        width:100%;
    }

    /* Popular Tools */

    .popular-tools{
        padding:10px 0 40px;
    }

    .popular-tools .section-title{
        font-size:28px;
    }

    .popular-card{
        min-height:180px;
        height:auto;
        padding:15px;
        border-radius:18px;
    }

    .tool-icon{
        width:42px;
        height:42px;
        margin-bottom:10px;
    }

    .popular-card h5{
        font-size:16px;
        min-height:auto;
        margin-bottom:8px;
    }

    .popular-card p{
        font-size:13px;
        min-height:auto;
        line-height:1.5;
    }

    .card-arrow{
        font-size:22px;
    }

    /* Browse By Category */

    .category-section{
        padding:10px 0 40px;
    }

    .category-card{
        min-height:auto;
        padding:18px;
        border-radius:18px;
    }

    .category-img{
        width:50px;
        height:50px;
        margin-bottom:10px;
    }

    .category-card h4{
        font-size:18px;
    }

    .category-card p{
        font-size:13px;
        min-height:auto;
    }

    /* All Conversion Tools */

    .all-tools-section{
        padding:10px 0 40px;
    }

    .tools-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .tool-pill{
        height:54px;
        font-size:14px;
        padding:12px 14px;
    }

    .tool-pill img{
        width:20px;
        height:20px;
    }

    /* Footer */

    .footer-card{
        padding:20px;
    }

    .footer-logo{
        height:50px;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
        gap:8px;
        padding:15px;
        font-size:14px;
    }

    #navMenu{

        background:#ffffff;

        margin-top:12px;

        padding:18px;

        border-radius:16px;

        box-shadow:0 8px 25px rgba(0,0,0,.12);

    }

    #navMenu .navbar-nav{

        gap:6px;

    }

    #navMenu .nav-link{

        display:block;

        padding:12px;

        font-size:15px;

        text-align:center;

        border-radius:10px;

    }

    #navMenu .nav-link:hover{

        background:#eef4ff;

    }

    #navMenu .start-btn{

        display:block;

        width:100%;

        margin-top:15px;

    }
}

/* ===================================
   SMALL MOBILE (max-width:480px)
=================================== */

@media (max-width:480px){

    .hero-title{
        font-size:32px;
    }

    .hero-text{
        font-size:15px;
    }

    .section-title{
        font-size:24px;
    }

    .popular-card{
        min-height:170px;
        padding:12px;
    }

    .popular-card h5{
        font-size:15px;
    }

    .popular-card p{
        font-size:12px;
    }

    .category-card{
        padding:15px;
    }

    .category-card h4{
        font-size:17px;
    }

    .category-card p{
        font-size:12px;
    }

    .tool-pill{
        font-size:13px;
        height:50px;
    }

     #navMenu{

        background:#ffffff;

        margin-top:10px;

        padding:15px;

        border-radius:14px;

        box-shadow:0 6px 20px rgba(0,0,0,.12);

    }

    #navMenu .nav-link{

        display:block;

        padding:10px;

        font-size:14px;

        text-align:center;

        border-radius:8px;

    }

    #navMenu .nav-link:hover{

        background:#eef4ff;

    }

    #navMenu .start-btn{

        display:block;

        width:100%;

        margin-top:12px;

        padding:10px;

        font-size:15px;

    }
}


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

@media (max-width:991px){

    .popular-tools .row,
    .category-section .row{

        display:grid;

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

        gap:20px;

    }

    .popular-tools .col-lg-2,
    .category-section .col-lg-3{

        width:100%;
        max-width:100%;
        flex:none;

    }

    .popular-card,
    .category-card{

        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;

        padding:24px 20px;

        border-radius:20px;

        min-height:180px;

        gap:12px;

        text-align:center;

    }

    .popular-card img,
    .category-img{

        width:58px;
        height:58px;

    }

    .popular-card h5,
    .category-card h4{

        font-size:1.15rem;
        margin:0;

    }

    .popular-card p,
    .category-card p{

        font-size:.9rem;
        margin:0;

    }

    .card-arrow,
    .category-card span{

        margin-top:8px;
        font-size:1rem;

    }

}

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

@media (max-width:767px){

    .popular-tools .row,
    .category-section .row{

        display:grid;

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

        gap:16px;

    }

    .popular-tools .col-lg-2,
    .category-section .col-lg-3{

        width:100%;
        max-width:100%;
        flex:none;

    }

    .popular-card,
    .category-card{

        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;

        padding:20px 16px;

        border-radius:18px;

        min-height:160px;

        gap:10px;

        text-align:center;

    }

    .popular-card img,
    .category-img{

        width:46px;
        height:46px;

    }

    .popular-card h5,
    .category-card h4{

        font-size:1rem;
        margin:0;

    }

    .popular-card p,
    .category-card p{

        font-size:.82rem;
        line-height:1.4;
        margin:0;

    }

    .card-arrow,
    .category-card span{

        margin-top:6px;
        font-size:.9rem;

    }

}

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

@media (max-width:575px){

    .popular-tools .row,
    .category-section .row{

        display:grid;

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

        gap:12px;

    }

    .popular-tools .col-lg-2,
    .category-section .col-lg-3{

        width:100%;
        max-width:100%;
        flex:none;

    }

    .popular-card,
    .category-card{

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

        padding:18px 12px;

        border-radius:16px;

        min-height:135px;

        gap:10px;

        text-align:center;

    }

    .popular-card img,
    .category-img{

        width:40px;
        height:40px;

    }

    .popular-card h5,
    .category-card h4{

        font-size:.92rem;
        margin:0;

    }

    .popular-card p,
    .category-card p{

        display:none;

    }

    .card-arrow,
    .category-card span{

        margin-top:4px;
        font-size:.9rem;

    }

}