/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* ===== BODY ===== */
body {
    background: radial-gradient(circle at top, #1a1a40, #0f0c29);
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

/*  color */
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 8px;
    background: transparent;
}

.nav-links a:hover {
    color: #00f2ff;
}

/* ===== HERO ===== */
.hero {
    margin-top: 96px;
    margin-bottom: 96px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: linear-gradient(
        120deg,
        #0f0c29,
        #302b63,
        #ff00cc,
        #00f2ff
    );
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-top: 10px;
    color: #e0e0ff;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 0 60px 70px 60px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 32px;
    margin-top: 96px;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

/* ===== GRID ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== NEON CARD ===== */
.tool-card {
    padding: 30px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    position: relative;
    transition: 0.4s ease;
    overflow: hidden;
}

.tool-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #ff00cc,
        #00f2ff,
        #7f00ff,
        #00ff88
    );
    background-size: 300% 300%;
    animation: neonMove 6s linear infinite;
    z-index: -1;
}

@keyframes neonMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 35px rgba(0, 242, 255, 0.8);
}

.tool-card h3 {
    font-size: 20px;
}

/* ============================= */
/* 🔥 MOBILE RESPONSIVE FIX 🔥 */
/* ============================= */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links {
        flex-direction: row;
        gap: 15px;
        width: auto;
        flex-wrap: wrap;
    }

    .tools-section {
        padding: 0 15px 50px 15px;
    }

    .section-title {
        font-size: 24px;
        margin-top: 60px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tool-card {
        padding: 15px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }
