﻿/* ===== HERO WRAPPER ===== */
.rns-h-hero {
    position: relative;
    padding: 6rem 1rem 8rem;
    background: #f8fafc;
    overflow: hidden;
    min-height: max-content;
}

.rns-h-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    min-height: max-content;
}

.rns-h-content {
    text-align: center;
}

/* ===== HALOS ===== */
.rns-h-halos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.rns-h-halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.rns-h-halo-1 {
    top: -100px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.12);
}

.rns-h-halo-2 {
    top: 25%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.08);
}

.rns-h-halo-3 {
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: rgba(29, 78, 216, 0.06);
}

.rns-h-halo-4 {
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.14);
}

/* ===== TITLES ===== */
.rns-h-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #242251;
    margin-bottom: 1.5rem;
}

.rns-h-gradient {
    background: linear-gradient(90deg, #155DFC 0%, #51A2FF 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}

/* ===== SUBTITLE ===== */
.rns-h-subtitle {
    font-size: 1.25rem;
    color: #334155;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ===== FORM ===== */
.rns-h-form {
    max-width: 900px;
    margin: 0 auto;
}

.rns-h-input-wrapper {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 0.5rem;
    box-shadow:
            0 10px 15px -3px rgba(0, 0, 0, 0.1),
            0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.rns-h-input {
    width: 100%;
    padding: 1.75rem 2rem;
    font-size: 1.125rem;
    border: none;
    outline: none;
    background: transparent;
    color: #334155;
}

.rns-h-input::placeholder {
    color: rgba(100, 116, 139, 0.5);
}

/* ===== BADGES ===== */
.rns-h-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: #475569;
}

.rns-h-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.rns-h-badge svg {
    width: 16px;
    height: 16px;
}

/* ===== CTA ===== */
.rns-h-cta {
    margin-top: 2.5rem;
    padding: 1.1rem 2.75rem;
    border-radius: 999px;
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.rns-h-cta:hover {
    transform: translateY(-1px);
}

/* ===== STATS ===== */
.rns-h-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
}

.rns-h-stat {
    text-align: center;
}

.rns-h-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.rns-h-stat p {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: #64748b;
}


@media (max-width: 768px) {
    
    .rns-h-hero{
        background: rgba(37, 99, 235, 0);
    }
    
    .rns-h-input {
        width: 100%;
        padding: 1rem 1.3rem;
    }

    .rns-h-subtitle {
        font-size: 1rem;
        margin: 10px 0;
    }
    .rns-h-badges {
        gap: 0.5rem;
    }
    
    .rns-h-badge{
        font-size: 12px;
    }
    
    .rns-h-badge svg {
        width: 12px;
        height: 12px;
    }
    
    .arrow-right{
        display: none;
    }
}

.rns-button-rainbow-particular {
    padding: 15px 12px 12px 12px;
    border-radius: 50px;
    border: 3px solid transparent;
    background: linear-gradient(#0754DA, #0754DA) linear-gradient(277.78deg, #1C5982 39.13%, #00C9A7 46.22%, #FFB800 53.94%, #E84E2D 60.87%) 0% 50%;
    background-size: 300% 300%;
    animation: rotate-border-gradient-text-area 3s linear infinite;
}

.rns-button-rainbow-particular:hover {
    background: linear-gradient(90.24deg, #242251 10.22%, #0754DA 93.91%) padding-box,
    linear-gradient(90.24deg, #242251 10.22%, #0754DA 93.91%) border-box !important;
    color: white !important;
}

@keyframes rotate-border-gradient-text-area {
     0% {
         background-position: 0 50%;
     }
     50% {
         background-position: 100% 50%;
     }
     100% {
         background-position: 0 50%;
     }
}

#projectDescription.rz-textarea:not(:disabled):not(.rz-state-disabled):hover, #projectDescription.rz-textarea:not(:disabled):not(.rz-state-disabled):focus{
    border: none;
    box-shadow: none;
    border-block-end: none;
}

textarea#projectDescription{
    -webkit-user-select: text;
    user-select: text;
}