/* assets/css/free-tools.css */

.seo-check-hero.creative-nebula-bg {
    background: #0f172a;
    padding: 160px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
}

.creative-nebula-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(58, 28, 113, 0.4), transparent 70%);
    z-index: 1;
}

.nebula-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    animation: nebula-float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #764ba2;
    top: -100px;
    left: -100px;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #667eea;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 30s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #E45A92;
    top: 20%;
    right: 15%;
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes nebula-float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(30px, 50px) rotate(120deg) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.animated-gradient-text {
    background-image: linear-gradient(90deg,
            #ffffff 0%,
            #f3e8ff 25%,
            #e9d5ff 50%,
            #f3e8ff 75%,
            #ffffff 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: gradient-animation 4s ease-in-out infinite !important;
    display: inline-block;
}

@keyframes gradient-animation {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.tools-grid-container {
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding-bottom: 80px;
}

.category-wrapper {
    margin-bottom: 60px;
}

.category-title-premium {
    font-size: 1.75rem;
    font-weight: 800;
    color: #501766;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title-premium::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, #be6cdf, transparent);
}

.tool-card-premium {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tool-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.tool-card-premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card-premium:hover::before {
    opacity: 1;
}

.tool-icon-box {
    width: 54px;
    height: 54px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #475569;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tool-card-premium:hover .tool-icon-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.tool-card-premium h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.tool-card-premium p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-premium-link {
    background: #f8fafc;
    color: #475569;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.tool-card-premium:hover .btn-premium-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-premium-link:hover {
    transform: scale(1.02);
}

/* Stretched link fix */
.stretched-link::after {
    z-index: 10;
}