/**
 * FastBlog - Glowy Waves Hero Styles
 *
 * @package FastBlog
 * @version 2.5
 */

.fb-glowy-waves {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fb-waves-bg-bottom, #040407);
    color: #ffffff;
    box-sizing: border-box;
    margin: 0;
    padding: 60px 0;
}

#fb-glowy-waves-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow blobs */
.fb-glowy-waves__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.fb-glowy-waves__ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    -webkit-filter: blur(130px);
    opacity: 0.22;
}

.fb-glowy-waves__ambient-blob--1 {
    left: 50%;
    top: 0;
    width: 520px;
    height: 520px;
    transform: translateX(-50%);
    background: var(--fb-waves-color-1, #6366f1);
}

.fb-glowy-waves__ambient-blob--2 {
    right: -60px;
    bottom: -60px;
    width: 400px;
    height: 400px;
    background: var(--fb-waves-color-2, #a855f7);
}

.fb-glowy-waves__ambient-blob--3 {
    left: 10%;
    top: 40%;
    width: 440px;
    height: 440px;
    background: var(--fb-waves-color-3, #38bdf8);
}

/* Content container */
.fb-glowy-waves__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    box-sizing: border-box;
}

/* Badge / Pill */
.fb-waves-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    padding: 8px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e2e8f0;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fb-waves-badge__icon {
    display: inline-flex;
    color: var(--fb-waves-color-1, #6366f1);
}

/* Title */
.fb-waves-title {
    font-size: clamp(2.4rem, 6.2vw, 4.8rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 0 auto 24px;
    max-width: 960px;
    color: var(--fb-waves-title-color, #ffffff);
}

.fb-waves-highlight {
    background: linear-gradient(135deg, var(--fb-waves-grad-start, #6366f1) 0%, var(--fb-waves-grad-end, #a855f7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* Description */
.fb-waves-desc {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 36px;
    color: var(--fb-waves-desc-color, #94a3b8);
    font-weight: 400;
}

/* Action Buttons */
.fb-waves-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.fb-waves-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fb-waves-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

.fb-waves-btn svg {
    transition: transform 0.2s ease;
}

.fb-waves-btn:hover svg {
    transform: translateX(3px);
}

/* Highlight Pills */
.fb-waves-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 44px;
    padding: 0;
    list-style: none;
}

.fb-waves-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fb-waves-pills-color, #cbd5e1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Stats Row */
.fb-waves-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 24px 32px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fb-waves-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fb-waves-stat-val {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--fb-waves-stats-num-color, #ffffff);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.fb-waves-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--fb-waves-stats-label-color, #94a3b8);
    margin-top: 6px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .fb-glowy-waves {
        min-height: 70vh;
        padding: 40px 0;
    }

    .fb-waves-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 24px;
    }

    .fb-waves-buttons {
        flex-direction: column;
        width: 100%;
    }

    .fb-waves-btn {
        width: 100%;
        max-width: 320px;
    }
}
