/* =========================================================
   tools.css
   Shuvam Infotech Tools Home
========================================================= */

:root {
        --primary: #635bff;
        --primary-dark: #5148e5;
        --secondary: #0f172a;
        --text: #1e293b;
        --muted: #64748b;
        --bg: #f8fafc;
        --card: #ffffff;
        --border: #e2e8f0;
    }

    * {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        font-family: 'Inter', sans-serif;
        color: var(--text);
        background: var(--bg);
    }

    a {
        text-decoration: none;
    }

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

    .site-header {
        background: rgba(255,255,255,.96);
        border-bottom: 1px solid #edf0f5;
        position: sticky;
        top: 0;
        z-index: 9999;
        backdrop-filter: blur(15px);
    }

    .navbar {
        min-height: 74px;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--secondary);
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 18px;
    }

    .navbar-brand:hover {
        color: var(--secondary);
    }

    .navbar-brand strong {
        color: var(--primary);
    }

    .navbar-brand small {
        display: block;
        font-size: 8px;
        letter-spacing: 1.5px;
        color: #94a3b8;
        margin-top: 1px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        background: linear-gradient(135deg,#635bff,#8b5cf6);
        box-shadow: 0 8px 20px rgba(99,91,255,.25);
    }

    .navbar-nav {
        gap: 4px;
    }

    .nav-link {
        color: #475569 !important;
        font-size: 14px;
        font-weight: 600;
        padding: 10px 12px !important;
        border-radius: 9px;
        transition: .25s;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary) !important;
        background: #f1f0ff;
    }

    .nav-link i {
        margin-right: 5px;
    }

    .nav-tool-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 10px 17px;
        border-radius: 10px;
        color: white;
        background: var(--primary);
        font-size: 13px;
        font-weight: 700;
        transition: .25s;
    }

    .nav-tool-btn:hover {
        color: white;
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

    .dropdown-menu {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 8px;
        box-shadow: 0 15px 45px rgba(15,23,42,.12);
    }

    .dropdown-item {
        border-radius: 8px;
        padding: 9px 12px;
        font-size: 13px;
        font-weight: 500;
    }

    .dropdown-item i {
        width: 22px;
        color: var(--primary);
    }

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

    .hero {
        position: relative;
        overflow: hidden;
        padding: 90px 0 75px;
        background:
            radial-gradient(circle at 10% 10%, rgba(99,91,255,.13), transparent 30%),
            radial-gradient(circle at 90% 20%, rgba(139,92,246,.12), transparent 28%),
            linear-gradient(180deg,#fff 0%,#f8faff 100%);
    }

    .hero-content {
        max-width: 800px;
        margin: auto;
        text-align: center;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 13px;
        border-radius: 50px;
        background: #eeecff;
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-badge span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #22c55e;
    }

    .hero h1 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(36px, 6vw, 64px);
        line-height: 1.08;
        letter-spacing: -2px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 20px;
    }

    .hero h1 span {
        color: var(--primary);
    }

    .hero p {
        max-width: 650px;
        margin: auto;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.8;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .btn-main {
        padding: 13px 22px;
        background: var(--primary);
        color: white;
        border-radius: 11px;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(99,91,255,.22);
    }

    .btn-main:hover {
        color: white;
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

    .btn-light-custom {
        padding: 13px 22px;
        background: white;
        color: #334155;
        border: 1px solid var(--border);
        border-radius: 11px;
        font-size: 14px;
        font-weight: 700;
    }

    .btn-light-custom:hover {
        color: var(--primary);
        border-color: #c7c3ff;
    }

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

    .stats {
        margin-top: 50px;
    }

    .stat-box {
        text-align: center;
        padding: 18px;
    }

    .stat-box strong {
        display: block;
        font-family: 'Plus Jakarta Sans';
        font-size: 25px;
        color: #0f172a;
    }

    .stat-box span {
        font-size: 12px;
        color: var(--muted);
    }

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

    .section {
        padding: 75px 0;
    }

    .section-header {
        text-align: center;
        max-width: 650px;
        margin: 0 auto 40px;
    }

    .section-header .label {
        color: var(--primary);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 800;
    }

    .section-header h2 {
        margin: 8px 0 12px;
        font-family: 'Plus Jakarta Sans';
        font-weight: 800;
        font-size: 34px;
        color: #0f172a;
    }

    .section-header p {
        color: var(--muted);
        font-size: 15px;
    }

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

    .tool-search {
        max-width: 650px;
        margin: 0 auto 45px;
        position: relative;
    }

    .tool-search i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
    }

    .tool-search input {
        width: 100%;
        border: 1px solid var(--border);
        background: white;
        border-radius: 14px;
        padding: 15px 18px 15px 48px;
        outline: none;
        font-size: 14px;
        box-shadow: 0 8px 30px rgba(15,23,42,.04);
    }

    .tool-search input:focus {
        border-color: #aaa5ff;
        box-shadow: 0 0 0 4px rgba(99,91,255,.08);
    }

    /* =========================
       TOOL CARDS
    ========================= */

    .tool-grid {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 18px;
    }

    .tool-card {
        background: white;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 22px;
        transition: .3s;
        position: relative;
        overflow: hidden;
    }

    .tool-card:hover {
        transform: translateY(-5px);
        border-color: #cbc8ff;
        box-shadow: 0 18px 40px rgba(15,23,42,.08);
    }

    .tool-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        margin-bottom: 17px;
        font-size: 19px;
    }

    .purple { background:#eeecff; color:#635bff; }
    .green { background:#e8f9f1; color:#10b981; }
    .blue { background:#eaf2ff; color:#3b82f6; }
    .orange { background:#fff4e5; color:#f59e0b; }
    .pink { background:#fcecf7; color:#ec4899; }

    .tool-card h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #172033;
    }

    .tool-card p {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
        min-height: 40px;
        margin-bottom: 17px;
    }

    .tool-link {
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
    }

    .tool-link i {
        margin-left: 4px;
        transition: .2s;
    }

    .tool-card:hover .tool-link i {
        transform: translateX(4px);
    }

    /* =========================
       PDF SECTION
    ========================= */

    .pdf-section {
        background: #0f172a;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .pdf-section .section-header h2 {
        color: white;
    }

    .pdf-section .section-header p {
        color: #94a3b8;
    }

    .pdf-card {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 16px;
        padding: 23px;
        color: white;
        transition: .3s;
    }

    .pdf-card:hover {
        background: rgba(255,255,255,.1);
        transform: translateY(-4px);
    }

    .pdf-card .tool-icon {
        background: rgba(255,255,255,.1);
        color: white;
    }

    .pdf-card h3 {
        font-size: 16px;
        margin-bottom: 7px;
    }

    .pdf-card p {
        color: #94a3b8;
        font-size: 12px;
        margin-bottom: 15px;
    }

    .pdf-card a {
        color: #a5b4fc;
        font-size: 12px;
        font-weight: 700;
    }

    /* =========================
       WHY US
    ========================= */

    .why-box {
        text-align: center;
        padding: 30px 20px;
    }

    .why-icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 17px;
        border-radius: 15px;
        background: #eeecff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
    }

    .why-box h4 {
        font-size: 15px;
        font-weight: 700;
    }

    .why-box p {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.6;
    }

    /* =========================
       SEO CONTENT
    ========================= */

    .seo-content {
        background: white;
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 40px;
    }

    .seo-content h2 {
        font-family: 'Plus Jakarta Sans';
        font-size: 25px;
        font-weight: 800;
        margin-bottom: 15px;
        color: #0f172a;
    }

    .seo-content h3 {
        font-size: 18px;
        font-weight: 700;
        margin-top: 30px;
    }

    .seo-content p,
    .seo-content li {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.8;
    }

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

    .cta-box {
        padding: 55px 30px;
        border-radius: 22px;
        text-align: center;
        background: linear-gradient(135deg,#635bff,#7c3aed);
        color: white;
        box-shadow: 0 20px 50px rgba(99,91,255,.2);
    }

    .cta-box h2 {
        font-family: 'Plus Jakarta Sans';
        font-weight: 800;
    }

    .cta-box p {
        color: #e0e7ff;
        font-size: 14px;
    }

    .cta-box .btn {
        background: white;
        color: var(--primary);
        border: 0;
        padding: 12px 22px;
        border-radius: 10px;
        font-weight: 700;
    }

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

    @media (max-width: 992px) {

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

        .navbar-nav {
            padding: 15px 0;
        }

        .nav-tool-btn {
            display: inline-flex;
        }
    }

    @media (max-width: 576px) {

        .navbar {
            min-height: 66px;
        }

        .hero {
            padding: 60px 0 50px;
        }

        .hero h1 {
            font-size: 38px;
            letter-spacing: -1.5px;
        }

        .hero p {
            font-size: 14px;
        }

        .section {
            padding: 55px 0;
        }

        .section-header h2 {
            font-size: 27px;
        }

        .tool-grid {
            grid-template-columns: repeat(2,1fr);
            gap: 12px;
        }

        .tool-card {
            padding: 17px;
            border-radius: 13px;
        }

        .tool-card h3 {
            font-size: 14px;
        }

        .tool-card p {
            font-size: 11px;
        }

        .tool-icon {
            width: 43px;
            height: 43px;
            font-size: 16px;
        }

        .seo-content {
            padding: 23px;
            border-radius: 15px;
        }

        .seo-content h2 {
            font-size: 21px;
        }

        .seo-content p,
        .seo-content li {
            font-size: 13px;
        }

        .stats {
            margin-top: 25px;
        }

        .stat-box {
            padding: 12px 5px;
        }

        .stat-box strong {
            font-size: 19px;
        }

        .stat-box span {
            font-size: 10px;
        }

        .hero-buttons a {
            width: 100%;
            max-width: 260px;
        }
    }
