/* Animated Robot Hero Module Styles */

.et_pb_animated_robot,
.future-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background-color: #050507;
    overflow: hidden;
    color: #ffffff;
    font-family: "Space Grotesk", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

/* Subtle digital dot matrix background */
.et_pb_animated_robot .background-grid,
.future-section .background-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 25%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

/* Radial ambient energy glow */
.et_pb_animated_robot .glow,
.future-section .glow {
    position: absolute;
    width: clamp(380px, 45vw, 680px);
    height: clamp(380px, 45vw, 680px);
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 92, 255, 0.28), rgba(40, 223, 255, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

/* 3D WebGL Canvas */
.et_pb_animated_robot .three-canvas,
.et_pb_animated_robot #three-canvas,
.future-section .three-canvas,
.future-section #three-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
    cursor: pointer;
    pointer-events: auto;
    touch-action: pan-y;
}

/* Foreground content */
.et_pb_animated_robot .future-content,
.future-section .future-content {
    position: relative;
    z-index: 10;
    width: min(1300px, 90%);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    pointer-events: none;
    padding: 80px 0;
    box-sizing: border-box;
}

.et_pb_animated_robot .content-inner,
.future-section .content-inner {
    max-width: 620px;
    width: 100%;
}

/* Badge */
.et_pb_animated_robot .badge,
.et_pb_animated_robot .future-badge,
.future-section .badge,
.future-section .future-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}


/* Future Title */
.et_pb_animated_robot .future-title,
.future-section .future-title {
    font-size: clamp(48px, 7vw, 108px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.et_pb_animated_robot .future-title span,
.future-section .future-title span {
    display: block;
    background: linear-gradient(120deg, #ffffff 10%, #bdb4ff 45%, #ffffff 65%, #5eeeff 90%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: robotGradText 6s linear infinite;
}

.et_pb_animated_robot .future-title .outline,
.future-section .future-title .outline {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    animation: none !important;
    margin-top: 4px;
}

@keyframes robotGradText {
    0% { background-position: 0% center; }
    100% { background-position: 250% center; }
}

/* Description */
.et_pb_animated_robot .future-description,
.future-section .future-description {
    max-width: 500px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Buttons / Actions */
.et_pb_animated_robot .actions,
.future-section .actions {
    display: flex;
    gap: 16px;
    pointer-events: auto;
    flex-wrap: wrap;
    align-items: center;
}

.et_pb_animated_robot .button,
.future-section .button {
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.et_pb_animated_robot .button-primary,
.future-section .button-primary {
    color: #050507 !important;
    background: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #ffffff;
}

.et_pb_animated_robot .button-primary:hover,
.future-section .button-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.35);
}

.et_pb_animated_robot .button-secondary,
.future-section .button-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.et_pb_animated_robot .button-secondary:hover,
.future-section .button-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}


/* Responsive */
@media (max-width: 980px) {
    .et_pb_animated_robot .future-content,
    .future-section .future-content {
        align-items: flex-end;
        padding-bottom: 90px;
        justify-content: center;
        text-align: center;
    }

    .et_pb_animated_robot .content-inner,
    .future-section .content-inner {
        max-width: 520px;
        margin: 0 auto;
    }

    .et_pb_animated_robot .future-title,
    .future-section .future-title {
        font-size: clamp(40px, 10vw, 72px);
        margin-bottom: 20px;
        align-items: center;
    }

    .et_pb_animated_robot .future-description,
    .future-section .future-description {
        margin: 0 auto 28px;
        font-size: 15px;
    }

    .et_pb_animated_robot .actions,
    .future-section .actions {
        justify-content: center;
    }

    .et_pb_animated_robot .glow,
    .future-section .glow {
        right: 50%;
        top: 32%;
        transform: translate(50%, -50%);
        width: 380px;
        height: 380px;
    }

}

/* Divi Visual Builder specific helper styles */
.et-fb .et_pb_animated_robot,
.et-vb .et_pb_animated_robot,
[data-vb-id] .et_pb_animated_robot {
    min-height: 600px;
    display: block;
}