/* ==========================================================================
   Dicons Hero Interactive Module Styles
   Scoped cleanly for Divi 4 & Divi 5 Visual Builder and Frontend Preview
   ========================================================================== */

/* Scoped Reset & Base Container */
.dicons-hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #09090b;
    background-color: #ffffff;
}

.dicons-hero-section *,
.dicons-hero-section *::before,
.dicons-hero-section *::after {
    box-sizing: border-box;
}

.dicons-hero-section a {
    color: inherit;
    text-decoration: none;
}

/* Background Canvas - Transparent so Divi linear gradients & colors show through */
.dicons-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    pointer-events: none;
    background: transparent !important;
}

/* Main Content Wrapper */
.dicons-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    /* padding: 5rem 1rem 3rem; */
    text-align: center;
}

/* Intro Badge */
.dicons-intro-badge-wrap {
    position: relative;
    z-index: 10;
    /* margin: 2.5rem 0 1.5rem; */
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.dicons-intro-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    border: 1px solid #e4e4e7;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.88);
    color: rgba(9, 9, 11, 0.6);
    font-size: 0.75rem;
    line-height: 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.dicons-intro-badge:hover {
    border-color: #d4d4d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dicons-intro-badge .dicons-badge-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    padding: 0.15rem;
    margin-right: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.dicons-intro-badge .dicons-badge-icon-font {
    font-family: "ETmodules" !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    /* speak: never; */
    padding: 0;
    margin-right: 0.35rem;
    font-size: 1rem;
    stroke: none !important;
    fill: currentColor !important;
}

.dicons-intro-badge .dicons-badge-icon-img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    padding: 0;
    margin-right: 0.35rem;
}

.dicons-intro-badge .explore-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    font-weight: 600;
    color: inherit;
    transition: color 180ms ease, transform 180ms ease;
    cursor: pointer;
}

.dicons-intro-badge .explore-link:hover {
    color: #000000;
}

.dicons-intro-badge .arrow-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.dicons-intro-badge .explore-link:hover .arrow-icon {
    transform: translateX(2px);
}

/* Hero Main Section */
.dicons-hero-main {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Title Box with Mask & Plus Corners */
.dicons-hero-title-wrap {
    margin: 0 auto 2.5rem;
    padding: 0 0.5rem;
    width: 100%;
    max-width: 82rem;
}

.dicons-hero-title {
    position: relative;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem;
    border: 1px solid rgba(24, 24, 27, 0.35);
    text-align: center;
    line-height: 0.95;
    letter-spacing: -0.045em;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    color: #09090b;
    user-select: none;
    -webkit-user-select: none;
    -webkit-mask-image: radial-gradient(800rem 96rem at center, white, transparent);
    mask-image: radial-gradient(800rem 96rem at center, white, transparent);
}

.dicons-hero-title>span {
    display: block;
    padding: 0.5rem 0.75rem;
}

/* Corner Pluses */
.dicons-corner-plus {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    color: #111111;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: square;
    stroke-linejoin: miter;
    pointer-events: none;
    z-index: 3;
}

.dicons-plus-tl {
    left: -1.25rem;
    top: -1.25rem;
}

.dicons-plus-bl {
    left: -1.25rem;
    bottom: -1.25rem;
}

.dicons-plus-tr {
    right: -1.25rem;
    top: -1.25rem;
}

.dicons-plus-br {
    right: -1.25rem;
    bottom: -1.25rem;
}

/* Welcome Subheading */
.dicons-welcome {
    margin: 2rem 0 0;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    color: #09090b;
}

.dicons-welcome span {
    color: #111111;
    font-weight: 700;
}

/* Description Text */
.dicons-description {
    width: 100%;
    max-width: 56rem;
    margin: 0.5rem auto 4rem;
    padding: 0 1.5rem;
    color: rgba(9, 9, 11, 0.6);
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Actions / Buttons */
.dicons-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    z-index: 10;
}

.dicons-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.75rem;
    padding: 0 2rem;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
        box-shadow 180ms ease, transform 180ms ease;
    text-decoration: none !important;
}

.dicons-btn:hover {
    transform: translateY(-1px);
}

.dicons-btn:active {
    transform: translateY(0);
}

.dicons-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/* Default / Primary Button */
.dicons-btn-default {
    background: #18181b;
    color: #fafafa !important;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dicons-btn-default:hover {
    background: rgba(24, 24, 27, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Outline / Secondary Button */
.dicons-btn-outline {
    border: 1px solid #e4e4e7;
    background: #ffffff;
    color: #18181b !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dicons-btn-outline:hover {
    background: #f4f4f5;
    border-color: #d4d4d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Animations */
.dicons-animate-fadeIn {
    animation: diconsFadeIn 600ms ease both;
}

.dicons-animation-delay-8 {
    animation-delay: 800ms;
}

@keyframes diconsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (min-width: 640px) {
    /* .dicons-hero-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    } */

    .dicons-description {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    /* .dicons-hero-content {
        margin-top: 5rem;
        padding-top: 5rem;
    } */

    .dicons-intro-badge-wrap {
        /* margin-top: 5rem; */
        margin-bottom: 1rem;
    }

    .dicons-hero-main {
        margin-top: 1.5rem;
    }

    .dicons-hero-title {
        padding: 5rem 3rem;
        font-size: clamp(5rem, 9vw, 8rem);
    }

    .dicons-description {
        margin-top: 0.5rem;
        max-width: 56rem;
        padding-left: 5rem;
        padding-right: 5rem;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .dicons-welcome {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .dicons-hero-title {
        font-size: clamp(5rem, 7vw, 8rem);
    }
}

@media (max-width: 767px) {
    .dicons-hero-section {
        min-height: 100svh;
    }

    /* .dicons-hero-content {
        min-height: 100svh;
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    } */

    .dicons-hero-title {
        font-size: clamp(2.75rem, 13vw, 5rem);
        padding: 1.5rem 1rem;
    }

    .dicons-corner-plus {
        width: 2rem;
        height: 2rem;
    }

    .dicons-plus-tl,
    .dicons-plus-bl {
        left: -1rem;
    }

    .dicons-plus-tr,
    .dicons-plus-br {
        right: -1rem;
    }

    .dicons-plus-tl,
    .dicons-plus-tr {
        top: -1rem;
    }

    .dicons-plus-bl,
    .dicons-plus-br {
        bottom: -1rem;
    }

    .dicons-description {
        margin-bottom: 3rem;
    }
}

@media (max-width: 425px) {
    /* .dicons-hero-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    } */

    .dicons-intro-badge {
        font-size: 0.7rem;
    }

    .dicons-hero-title-wrap {
        padding: 0 0.25rem;
    }

    .dicons-hero-title {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
        padding: 1.25rem 0.75rem;
    }

    .dicons-welcome {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .dicons-description {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }

    .dicons-btn {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 360px) {
    .dicons-actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 18rem);
        margin: 0 auto;
    }

    .dicons-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dicons-animate-fadeIn {
        animation: none;
    }
}