/* Highlighter CTA Container */
.aivah-hl-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.aivah-hl-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Subheading Pill Style */
.aivah-hl-subheading-wrapper {
    margin-bottom: 25px;
}

.aivah-hl-subheading {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 50px;
    background-color: #e0e7ff; /* Lavender blue default */
    color: #3b82f6; /* Accent blue default */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Heading Style */
.aivah-hl-heading-wrapper {
    margin-bottom: 45px;
    overflow: hidden; /* For entrance slide animation */
}

.aivah-hl-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
    margin: 0;
}

/* Highlight Phrase — gradient background sweep animation */
.highlight-phrase {
    display: inline;
    /* Default box-decoration-break: slice — background is continuous across lines */
    /* Gradient: left half is highlight color, right half is transparent */
    background: linear-gradient(90deg, var(--highlight-bg-color, #3b82f6) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0; /* Start: transparent half visible = no highlight */
    color: inherit; /* Start: same as heading color */
}

/* Button Style */
.aivah-hl-btn-wrapper {
}

.aivah-hl-btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 8px;
    color: #ffffff;
    background-color: #1f2937;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.aivah-hl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Elementor Editor overrides for better editing experience */
body.elementor-editor-active .aivah-hl-container {
    min-height: auto;
    padding: 60px 20px;
}

body.elementor-editor-active .aivah-hl-subheading-wrapper,
body.elementor-editor-active .aivah-hl-heading-wrapper,
body.elementor-editor-active .aivah-hl-btn-wrapper {
    opacity: 1 !important;
    transform: none !important;
}

body.elementor-editor-active .highlight-phrase {
    background-position: 0% 0 !important;
    color: var(--highlight-text-color, #ffffff) !important;
}
