.ansa-hero-wrapper {
    --ansa-bg-deep: #02040a;
    --ansa-card-bg: rgba(6, 11, 25, 0.6);
    --ansa-highlight-start: #6b8dff;
    --ansa-highlight-end: #00e1ff;
    --ansa-card-border-start: rgba(42, 109, 255, 0.6);
    --ansa-card-border-end: rgba(240, 0, 255, 0.45);
    --ansa-flare-top: #00e1ff;
    --ansa-flare-right: #f000ff;
    --ansa-btn-start: #2a6dff;
    --ansa-btn-end: #f000ff;
    --ansa-wave-color: #0055ff;
    --ansa-graphic-line: #00e1ff;
    --ansa-graphic-node-border: #2a6dff;
    --ansa-graphic-node-bg: #030712;
    --ansa-graphic-icon: #ffffff;
    --ansa-center-text: #ffffff;
    font-family: Inter, Arial, sans-serif;
    background-color: var(--ansa-bg-deep);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;

    /* Force total hero width to 1201px, even inside Elementor boxed containers */
    width: min(1201px, calc(100vw - 28px)) !important;
    max-width: min(1201px, calc(100vw - 28px)) !important;
    margin-left: 50% !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
}

.ansa-hero-wrapper *,
.ansa-hero-wrapper *::before,
.ansa-hero-wrapper *::after {
    box-sizing: border-box;
}

.ansa-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}

.ansa-hero-bg-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: radial-gradient(circle at 50% 100%, rgba(0, 100, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
}

.ansa-wave-svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ansa-hero-glass-box {
    position: relative;
    max-width: 1201px !important;
    width: 100% !important;
    border-radius: 16px;
    background: var(--ansa-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 70px 60px;
    z-index: 2;
    box-shadow: inset 0 0 60px rgba(0, 140, 255, 0.1);
}

.ansa-hero-glass-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(120deg, var(--ansa-card-border-start) 0%, transparent 30%, transparent 70%, var(--ansa-card-border-end) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ansa-hero-glass-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 30%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ansa-flare-top), transparent);
    box-shadow: 0 0 20px 3px color-mix(in srgb, var(--ansa-flare-top), transparent 40%);
    border-radius: 999px;
    pointer-events: none;
}

.ansa-flare-right {
    position: absolute;
    right: 0;
    top: 20%;
    width: 2px;
    height: 40%;
    background: linear-gradient(180deg, transparent, var(--ansa-flare-right), transparent);
    box-shadow: 0 0 20px 2px color-mix(in srgb, var(--ansa-flare-right), transparent 50%);
    border-radius: 999px;
    pointer-events: none;
}

.ansa-hero-left {
    flex: 1.1;
    padding-right: 20px;
    z-index: 3;
}

.ansa-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.ansa-hero-heading {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 15px;
    letter-spacing: -0.5px;
}

.ansa-hero-heading-main,
.ansa-hero-gradient-text {
    display: block;
}

.ansa-hero-gradient-text {
    background: linear-gradient(90deg, var(--ansa-highlight-start) 0%, var(--ansa-highlight-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ansa-hero-subheading {
    font-size: 20px;
    color: #d1d5db;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 40px;
}

.ansa-hero-btn-wrap {
    display: inline-block;
    position: relative;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--ansa-btn-start), var(--ansa-btn-end));
    padding: 1.5px;
    box-shadow: 0 0 15px rgba(42, 109, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ansa-hero-btn-wrap:hover {
    box-shadow: 0 0 25px rgba(42, 109, 255, 0.6);
    transform: translateY(-2px);
}

.ansa-hero-btn,
.ansa-hero-btn:visited {
    background: #060c1c;
    color: #ffffff;
    border: 0;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 7px;
    cursor: pointer;
    display: block;
    font-family: Inter, Arial, sans-serif;
    text-decoration: none;
    line-height: 1.2;
}

.ansa-hero-btn:hover,
.ansa-hero-btn:focus {
    color: #ffffff;
    text-decoration: none;
}

.ansa-network-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .ansa-hero-glass-box {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }

    .ansa-hero-left {
        padding-right: 0 !important;
        margin-bottom: 50px;
        text-align: center;
    }

    .ansa-hero-heading {
        font-size: 50px;
    }

    .ansa-hero-subheading {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .ansa-hero-wrapper {
        padding: 30px 14px;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
    }

    .ansa-hero-glass-box {
        padding: 40px 20px;
    }

    .ansa-hero-heading {
        font-size: 40px;
    }

    .ansa-hero-subheading {
        font-size: 16px;
    }
}
