/* SEO Check Tool Styles - Ported from Pagespeed Insights */

.seo-check-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Noise texture */
.seo-check-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.seo-check-hero .container {
    position: relative;
    z-index: 2;
}

.seo-check-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.seo-check-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.seo-features {
    padding: 80px 0;
    background-color: #f9fbfd;
}

.seo-feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.seo-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #764ba2;
}

.seo-feature-icon {
    width: 70px;
    /* Aligned with pagespeed */
    height: 70px;
    /* Aligned with pagespeed */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* Fixed gradient */
    border-radius: 50%;
    display: inline-flex;
    /* Aligned */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    /* Aligned with pagespeed */
    margin: 0 auto 20px;
    /* Aligned */
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
    color: white;
}

/* Bottom CTA Noise */
.bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

/* Stats & Benefits (Ported from PageSpeed) */
.stats-card {
    background: #f3edfa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #764ba2;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
    font-family: 'Rajdhani', sans-serif;
}

.stats-label {
    color: #718096;
    font-weight: 500;
    margin-top: 5px;
    font-family: 'Rajdhani', sans-serif;
}

.count-up-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Animated Gradient Text */
.animated-gradient-text {
    background-image: linear-gradient(to right, #ffffff, #e3d9f1, #d0aaf3, #c4a6f5);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradient-animation 8s infinite alternate;
    display: inline-block;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

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