/**
 * CSG Hero Widget Styles
 *
 * @package CsgPersonalized
 * @since   1.0.1
 */

/* Section container */
.csg-el-hero {
    position: relative;
    background: #0f172a;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 24px;
}

/* Decorative dot grid */
.csg-el-hero__dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Gradient orbs */
.csg-el-hero__orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.csg-el-hero__orb--left {
    top: -20%;
    left: -10%;
    background: rgba(30, 136, 229, 0.3);
}

.csg-el-hero__orb--right {
    bottom: -20%;
    right: -10%;
    background: rgba(30, 136, 229, 0.3);
}

/* Content wrapper */
.csg-el-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Badge */
.csg-el-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.2), rgba(30, 136, 229, 0.2));
    color: #93c5fd;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

/* Title */
.csg-el-hero__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 24px 0;
}

/* Gradient text span */
.csg-el-hero__title-gradient {
    background: linear-gradient(135deg, var(--csg-secondary, #0B1C2C), var(--csg-primary, #D4AF37));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.csg-el-hero__desc {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
}

/* Button container */
.csg-el-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Primary CTA */
.csg-el-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--csg-secondary, #0B1C2C), var(--csg-primary, #D4AF37));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.csg-el-hero__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.csg-el-hero__btn-primary svg {
    flex-shrink: 0;
}

/* Secondary CTA */
.csg-el-hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.csg-el-hero__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .csg-el-hero {
        min-height: 480px;
        padding: 80px 20px;
    }

    .csg-el-hero__title {
        font-size: 2.5rem;
    }

    .csg-el-hero__desc {
        font-size: 1.0625rem;
        margin-bottom: 32px;
    }

    .csg-el-hero__badge {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

    .csg-el-hero__orb {
        width: 300px;
        height: 300px;
    }

    .csg-el-hero__btn-primary,
    .csg-el-hero__btn-secondary {
        padding: 14px 28px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .csg-el-hero {
        min-height: 400px;
        padding: 60px 16px;
    }

    .csg-el-hero__title {
        font-size: 2rem;
    }

    .csg-el-hero__desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .csg-el-hero__actions {
        flex-direction: column;
    }

    .csg-el-hero__btn-primary,
    .csg-el-hero__btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .csg-el-hero__orb {
        width: 200px;
        height: 200px;
        filter: blur(80px);
    }
}
