/* ===================================
   RP TOOLS — MAIN CSS FILE
=================================== */


/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================
   RESET
========================= */

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


/* =========================
   ROOT COLORS
========================= */

:root{

    --primary:#2563eb;
    --secondary:#7c3aed;

    --dark:#081120;
    --dark2:#0f172a;

    --white:#ffffff;

    --text:#cbd5e1;

    --border:rgba(255,255,255,0.08);

}


/* =========================
   BODY
========================= */

body{

    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
    to bottom,
    #081120,
    #0f172a
    );

    color:white;

    overflow-x:hidden;

    min-height:100vh;

    position:relative;

}


/* =========================
   BACKGROUND GLOW
========================= */

.bg-glow{

    position:fixed;

    border-radius:50%;

    filter:blur(120px);

    z-index:-1;

}

.glow1{

    width:350px;
    height:350px;

    background:
    rgba(37,99,235,0.22);

    top:-120px;
    left:-120px;

}

.glow2{

    width:350px;
    height:350px;

    background:
    rgba(124,58,237,0.22);

    bottom:-120px;
    right:-120px;

}


/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{

    background:#334155;

    border-radius:50px;

}


/* =========================
   NAVBAR
========================= */

.navbar{

    width:100%;

    padding:20px 7%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    position:sticky;

    top:0;

    z-index:999;

    background:
    rgba(8,17,32,0.72);

    backdrop-filter:blur(16px);

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

}


/* =========================
   LOGO
========================= */

.logo-box{

    display:flex;

    align-items:center;

    gap:14px;

}

.logo-circle{

    width:58px;
    height:58px;

    border-radius:18px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    display:flex;

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

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(37,99,235,0.35);

}

.logo-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.brand-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    color:#cbd5e1;
    font-size:13px;
    margin-left:16px;
}

.brand-badge img{
    width:24px;
    height:24px;
    object-fit:contain;
    border-radius:50%;
}

.logo-text h2{

    font-size:22px;

    font-weight:700;

}

.logo-text span{

    font-size:12px;

    color:#94a3b8;

}


/* =========================
   NAV MENU
========================= */

.nav-menu{

    display:flex;

    gap:28px;

}

.nav-menu a{

    color:#cbd5e1;

    text-decoration:none;

    font-size:15px;

    transition:0.3s;

}

.nav-menu a:hover{

    color:white;

}


/* =========================
   NAV BUTTON
========================= */

.nav-btn{

    padding:14px 24px;

    border:none;

    border-radius:16px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    color:white;

    font-size:14px;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

    transition:0.3s;

}

.nav-btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 15px 35px rgba(37,99,235,0.35);

}


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

.hero{

    width:100%;

    padding:
    90px 7% 70px;

}

.hero-content{

    max-width:950px;

    margin:auto;

    text-align:center;

}

.hero .categories-bar{

    width:100%;

    margin-bottom:22px;

    overflow-x:auto;

    padding-bottom:4px;

}

.hero .categories-grid{

    justify-content:flex-start;

}


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

.hero-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:24px;
}

.hero-badge{

    display:inline-flex;

    padding:10px 20px;

    border-radius:50px;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    font-size:12px;

    letter-spacing:2px;

}

.brand-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    font-size:13px;
    color:#cbd5e1;
}

.brand-badge img{
    width:24px;
    height:24px;
    object-fit:cover;
    border-radius:50%;
}


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

.hero h1{

    font-size:72px;

    line-height:1.1;

    margin-bottom:24px;

    font-weight:800;

}

.hero h1 span{

    background:
    linear-gradient(
    135deg,
    #60a5fa,
    #c084fc
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}


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

.hero p{

    max-width:760px;

    margin:auto;

    color:#cbd5e1;

    font-size:18px;

    line-height:1.8;

}


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

.hero-buttons{

    margin-top:35px;

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

}

.primary-btn,
.secondary-btn{

    padding:16px 28px;

    border:none;

    border-radius:18px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:10px;

    transition:0.3s;

}

.primary-btn{

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    color:white;

}

.secondary-btn{

    background:
    rgba(255,255,255,0.06);

    border:
    1px solid rgba(255,255,255,0.08);

    color:white;

}

.primary-btn:hover,
.secondary-btn:hover{

    transform:translateY(-3px);

}


/* =========================
   SEARCH
========================= */

.search-area{

    width:100%;

    margin-top:45px;

}

.search-box{

    width:100%;

    max-width:760px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:15px;

    padding:22px 26px;

    border-radius:28px;

    background:
    rgba(255,255,255,0.06);

    border:
    1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(16px);

}

.search-box i{

    color:#94a3b8;

}

.search-box input{

    flex:1;

    background:none;

    border:none;

    outline:none;

    color:white;

    font-size:16px;

}

.search-box input::placeholder{

    color:#94a3b8;

}


/* =========================
   FILTERS
========================= */

.filters{

    margin-top:28px;

    display:flex;

    justify-content:center;

    gap:14px;

    flex-wrap:wrap;

}

.filter-btn{

    padding:12px 22px;

    border:none;

    border-radius:16px;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.05);

    color:white;

    cursor:pointer;

    transition:0.3s;

}

.filter-btn:hover,
.filter-btn.active{

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

}


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

.stats-section{

    padding:20px 7% 80px;

}

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:24px;

}

.stat-card{

    padding:35px;

    border-radius:28px;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    text-align:center;

}

.stat-card h2{

    font-size:42px;

    margin-bottom:10px;

}

.stat-card p{

    color:#94a3b8;

}


/* =========================
   SECTION HEADER
========================= */

.section-header{

    text-align:center;

    margin-bottom:55px;

}

.section-header h2{

    font-size:44px;

    margin-bottom:12px;

}

.section-header p{

    color:#94a3b8;

}


/* =========================
   CATEGORIES
========================= */

.categories-section{

    padding:20px 7% 100px;

}

.categories-grid{

    display:flex;

    align-items:flex-start;

    gap:18px;

    overflow-x:auto;

    padding-bottom:10px;

}

.category-card{
    min-width:220px;
    flex:0 0 auto;
}

/* =========================
   APP SHOWCASE
========================= */

.app-showcase-section{
    padding:20px 7% 80px;
}

.app-showcase-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:28px;
}

.app-card{
    border-radius:32px;
    padding:30px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.08);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:320px;
    transition:0.3s;
}

.app-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.28);
}

.app-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:24px;
}

.app-badge{
    display:inline-flex;
    padding:10px 16px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.7px;
}

.app-badge-green{background:rgba(16,185,129,0.18);color:#a7f3d0;}
.app-badge-blue{background:rgba(59,130,246,0.18);color:#bfdbfe;}

.app-card h3{
    font-size:28px;
    margin-bottom:14px;
}

.app-card p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:26px;
}

.app-card-footer{
    margin-top:auto;
}

.app-card.large-app{
    min-height:360px;
}

.mobile-option-bar{
    display:none;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    padding:12px 14px;
    background:rgba(8,17,32,0.95);
    border-top:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(16px);
    z-index:999;
    gap:10px;
    justify-content:space-between;
}

.mobile-option-bar button,
.mobile-option-bar a{
    flex:1;
    padding:12px 14px;
    border-radius:14px;
    border:none;
    background:rgba(255,255,255,0.08);
    color:white;
    font-size:13px;
    font-weight:600;
    text-align:center;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.mobile-option-bar button:hover,
.mobile-option-bar a:hover{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
}

.category-card{

    padding:35px 25px;

    border-radius:30px;

    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.08);

    text-align:center;

    transition:0.3s;

}

.category-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.35);

}

.category-card i{

    font-size:42px;

    margin-bottom:20px;

    background:
    linear-gradient(
    135deg,
    #60a5fa,
    #c084fc
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.category-card h3{

    font-size:20px;

}


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

.tools-section{

    padding:20px 7% 100px;

}

.tools-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}


/* =========================
   TOOL CARD
========================= */

.tool-card{

    border-radius:34px;

    background:
    linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
    );

    border:
    1px solid rgba(255,255,255,0.08);

    padding:28px;

    transition:0.4s;

}

.tool-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 30px 60px rgba(0,0,0,0.35);

}


/* =========================
   TOOL TOP
========================= */

.tool-top{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:24px;

}


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

.tool-icon{

    width:72px;
    height:72px;

    border-radius:24px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    display:flex;

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

    font-size:28px;

}


/* =========================
   TOOL TAG
========================= */

.tool-tag{

    padding:8px 16px;

    border-radius:50px;

    background:
    rgba(255,255,255,0.08);

    font-size:12px;

}


/* =========================
   TOOL CONTENT
========================= */

.tool-content h3{

    font-size:28px;

    margin-bottom:14px;

}

.tool-content p{

    color:#cbd5e1;

    line-height:1.8;

    margin-bottom:24px;

}


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

.tool-stats{

    display:flex;

    gap:24px;

    margin-bottom:28px;

    color:#94a3b8;

}

.tool-stats span{

    display:flex;

    align-items:center;

    gap:8px;

}


/* =========================
   DOWNLOAD BUTTON
========================= */

.download-btn{

    width:100%;

    padding:16px;

    border:none;

    border-radius:18px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
    );

    color:white;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:0.3s;

}

.download-btn:hover{

    transform:scale(1.02);

}

.tool-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.share-btn{
    flex:1;
    min-width:140px;
    padding:14px 18px;
    border:none;
    border-radius:18px;
    background:rgba(255,255,255,0.08);
    color:white;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.share-btn:hover{
    background:rgba(255,255,255,0.14);
}


/* =========================
   NO RESULTS
========================= */

.no-results{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:12px;
    padding:45px;
    border-radius:28px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    color:#cbd5e1;
    text-align:center;
}

.no-results i{
    font-size:48px;
    color:var(--primary);
}

.tool-card.skeleton{
    position:relative;
    overflow:hidden;
    min-height:320px;
}

.tool-card.skeleton::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(255,255,255,0.08),rgba(255,255,255,0.12),rgba(255,255,255,0.08));
    animation:shimmer 1.6s infinite;
}

@keyframes shimmer{
    0%{transform:translateX(-100%)}
    100%{transform:translateX(100%)}
}

.tool-card.skeleton .skel-top,
.tool-card.skeleton .skel-line,
.tool-card.skeleton .skel-btn{
    position:relative;
    background:rgba(255,255,255,0.08);
    border-radius:14px;
}

.tool-card.skeleton .skel-top{
    width:70px;
    height:70px;
    margin-bottom:24px;
}

.tool-card.skeleton .skel-line{
    width:100%;
    height:16px;
    margin-bottom:14px;
}

.tool-card.skeleton .skel-line.short{
    width:65%;
}

.tool-card.skeleton .skel-btn{
    width:100%;
    height:48px;
    margin-top:18px;
}

.tag-new{background:rgba(16,185,129,0.18);color:#a7f3d0;}
.tag-hot{background:rgba(239,68,68,0.18);color:#fecaca;}
.tag-popular{background:rgba(59,130,246,0.18);color:#bfdbfe;}

/* =========================
   FEATURED BANNER
========================= */

.featured-banner{

    padding:0 7% 100px;

}

.featured-content{

    padding:60px;

    border-radius:36px;

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

    text-align:center;

}

.featured-content h2{

    font-size:42px;

    margin-bottom:18px;

}

.featured-content p{

    max-width:720px;

    margin:auto;

    line-height:1.8;

    margin-bottom:30px;

}

.banner-btn{

    padding:16px 30px;

    border:none;

    border-radius:18px;

    background:white;

    color:#111827;

    font-weight:700;

    cursor:pointer;

}


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

.footer{

    padding:50px 7%;

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

}

.footer-content{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

    flex-wrap:wrap;

}

.footer-left h3{

    margin-bottom:10px;

}

.footer-left p{

    color:#94a3b8;

    line-height:1.7;

}

.footer-links{

    display:flex;

    gap:22px;

    flex-wrap:wrap;

}

.footer-links a{

    color:#cbd5e1;

    text-decoration:none;

}

.footer-social{

    display:flex;

    gap:18px;

}

.footer-social a{

    width:45px;
    height:45px;

    border-radius:14px;

    background:
    rgba(255,255,255,0.06);

    display:flex;

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

    color:white;

    text-decoration:none;

}


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

@media(max-width:950px){

    .hero h1{

        font-size:52px;

    }

    .nav-menu{

        display:none;

    }

}

@media(max-width:700px){

    .navbar{

        padding:16px 5%;

    }

    .hero{

        padding:
        70px 5% 50px;

    }

    .stats-section,
    .categories-section,
    .tools-section,
    .featured-banner,
    .footer,
    .app-showcase-section{

        padding-left:5%;
        padding-right:5%;

    }

    .mobile-option-bar{
        display:flex;
    }

    body{
        padding-bottom:90px;
    }
}

@media (max-width:900px) and (min-width:701px) {
    .mobile-option-bar {
        display:flex;
    }
    body {
        padding-bottom:90px;
    }
}

@media(max-width:430px){
    .mobile-option-bar{
        display:none;
    }
    body{
        padding-bottom:0;
    }
}

    .hero h1{

        font-size:38px;

    }

    .hero p{

        font-size:15px;

    }

    .section-header h2{

        font-size:34px;

    }

    .featured-content{

        padding:40px 25px;

    }

    .featured-content h2{

        font-size:30px;

    }

}

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

@media(max-width:1024px){

    .navbar{
        padding:18px 5%;
    }

    .hero{
        padding:70px 5% 40px;
    }

    .stats-section,
    .categories-section,
    .tools-section,
    .featured-banner,
    .footer{
        padding-left:5%;
        padding-right:5%;
    }

    .hero h1{
        font-size:52px;
    }

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

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

}


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

@media(max-width:768px){

    .navbar{

        padding:16px 20px;

    }

    .nav-menu{

        display:none;

    }

    .hero{

        padding:40px 20px 20px;

    }

    .hero-content{

        text-align:left;

    }

    .hero h1{

        font-size:38px;

        line-height:1.2;

    }

    .hero p{

        font-size:15px;

    }

    .hero-buttons{

        justify-content:flex-start;

    }

    .stats-grid{

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

    }

    .categories-grid{

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

    }

    .tools-grid{

        grid-template-columns:
        1fr;

    }

    .featured-content{

        padding:35px 25px;

    }

    .featured-content h2{

        font-size:30px;

    }

    .footer-content{

        flex-direction:column;

        align-items:flex-start;

    }

}


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

@media(max-width:430px){

    .logo-circle{

        width:46px;
        height:46px;

        font-size:16px;

    }

    .logo-text h2{

        font-size:18px;

    }

    .hero h1{

        font-size:32px;

    }

    .hero-badge,
    .rathna-badge{

        font-size:11px;

    }

    .search-box{

        padding:16px 18px;

    }

    .tool-card{

        padding:20px;

        border-radius:24px;

    }

    .tool-content h3{

        font-size:22px;

    }

    .download-btn{

        padding:14px;

    }

}


/* ===================================
   LARGE DESKTOP
=================================== */

@media(min-width:1200px){

    .hero{

        padding:100px 7% 60px;

    }

    .hero-content{

        max-width:1200px;

    }

    .hero h1{

        font-size:78px;

    }

    .hero p{

        max-width:850px;

        font-size:20px;

    }

    .stats-grid{

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

    }

    .categories-grid{

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

    }

    .tools-grid{

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

    }

    .tool-card{

        min-height:420px;

    }

}


/* ===================================
   EXTRA LARGE SCREEN
=================================== */

@media(min-width:1600px){

    .hero-content,
    .tools-section,
    .categories-section,
    .stats-section,
    .featured-banner{

        max-width:1600px;

        margin:auto;

    }

}