.saas-glow-btn {
    position: relative;
    transition: transform 0.3s ease;
    background-color: #fff !important;
    z-index: 1;
    overflow: visible; /* ensure the glow can extend outside the button */
}

.saas-glow-btn::before {
    content: '';
    position: absolute;
    inset: -3px; /* create the border thickness */
    background: linear-gradient(90deg, #14cf93, #caff33, #14cf93);
    z-index: -1;
    border-radius: 35px;
    background-size: 200%;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    filter: blur(4px);
    animation: glow-animation 3s linear infinite;
}

.saas-glow-btn:hover {
    transform: translateY(-2px);
}

@keyframes glow-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Glassy Red LED Button */
.led-glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    box-shadow:
        0 8px 32px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
    isolation: isolate;
}

.led-glass-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle at var(--glint-x, 50%) var(--glint-y, 50%),
        #ef6b6b 0%,
        #c92525 40%,
        #991b1b 70%,
        transparent 100%);
    border-radius: 54px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.led-glass-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%);
    pointer-events: none;
}

.led-glass-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 40px rgba(220, 38, 38, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.led-glass-btn:hover::before {
    opacity: 0.55;
    filter: blur(10px);
}

.led-glass-btn .led-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.led-glass-btn i {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Subtle glassy border with cursor tracking */
.led-glass-btn .border-glint {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(circle at var(--glint-x, 50%) var(--glint-y, 50%),
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        transparent 60%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.led-glass-btn:hover .border-glint {
    opacity: 1;
}

@keyframes seamless-glow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.accent-underline-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.accent-underline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--abcubed-accent, #e63946);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.accent-underline-link:hover::after {
    transform: scaleX(1);
}

/* Scroll indicator arrow */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
    animation: bounce-arrow 2s infinite;
}

.header-project4 {
    position: relative;
}

.header-project4 .scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 0;
    padding: 0;
}

.scroll-indicator i {
    font-size: 22px;
    color: #fff;
    transition: color 0.3s ease;
}

.scroll-indicator:hover i {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(12px);
        opacity: 1;
    }
}

