.header{
    background-color: rgba(21, 34, 43, 0.85);
}

.legal-analyze-form {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.legal-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.legal-analyze-input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    padding: 0 44px 0 14px;
    outline: none;
}

.legal-analyze-input::placeholder {
    color: #6b7280;
}

.legal-analyze-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.legal-input-attach {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.18));
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
    transition: all 0.2s ease;
}

.legal-input-attach:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.8);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.32), rgba(14, 165, 233, 0.28));
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.24);
}

.legal-input-attach:active {
    transform: translateY(-50%) scale(0.96);
}

.legal-input-wrap:focus-within .legal-input-attach {
    border-color: rgba(37, 99, 235, 0.95);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.24);
}

.legal-upload-input {
    display: none;
}

.legal-analyze-submit {
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* From Uiverse.io by M4rco592 */
.gradient-button {
    position: relative;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.gradient-button:hover {
    transform: scale(1.03);
}

.gradient-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            #ff6b6b,
            #4ecdc4,
            #45b7d1,
            #96ceb4,
            #feca57,
            #ff9ff3,
            #ff6b6b);
    z-index: -2;
    filter: blur(10px);
    transform: rotate(0deg);
    transition: transform 1.5s ease-in-out;
}

.gradient-button:hover::before {
    transform: rotate(180deg);
}

.gradient-button::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: black;
    border-radius: 47px;
    z-index: -1;
    filter: blur(5px);
}

.gradient-text {
    color: transparent;
    background: conic-gradient(from 0deg,
            #ff6b6b,
            #4ecdc4,
            #45b7d1,
            #96ceb4,
            #feca57,
            #ff9ff3,
            #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    filter: hue-rotate(0deg);
}

.gradient-button:hover .gradient-text {
    animation: hue-rotating 2s linear infinite;
}

.gradient-button:active {
    transform: scale(0.99);
}

@keyframes hue-rotating {
    to {
        filter: hue-rotate(360deg);
    }
}

@media (max-width: 576px) {
    .legal-analyze-form {
        gap: 8px;
    }

    .legal-analyze-submit {
        padding: 0 14px;
    }
}


.solution-card{
    color: white;
}
.solution-card h5{
    color: rgb(156, 180, 201);
}