/* =================================================================
   PREMIUM REQUEST SERVICE STYLES
   ================================================================== */

.rs-hero {
    padding-top: 220px;
    padding-bottom: 60px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Premium Animated Background Orbs */
.rs-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 66, 255, 0.15) 0%, transparent 60%);
    z-index: -1;
    animation: pulseOrb 8s infinite alternate ease-in-out;
}

@keyframes pulseOrb {
    0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.rs-hero-text {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rs-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(138, 66, 255, 0.05);
    color: var(--color-primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(138, 66, 255, 0.3);
    box-shadow: 0 0 20px rgba(138, 66, 255, 0.2);
}

.rs-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.rs-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* =================================================================
   FORM SECTION (Split Dashboard)
   ================================================================== */
.rs-form-section {
    padding: 40px 0 120px 0;
    position: relative;
    z-index: 10;
}

.rs-form-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 13, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

.rs-form-left {
    width: 40%;
    background: rgba(138, 66, 255, 0.05);
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rs-form-right {
    width: 60%;
    padding: 60px;
    position: relative;
}

.rs-step-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rs-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.rs-nav-item.active {
    opacity: 1;
}

.rs-nav-item.active .rs-nav-num {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(138, 66, 255, 0.4);
}

.rs-nav-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.rs-nav-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.rs-form-left-footer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Steps Content */
.rs-step {
    display: none;
    animation: slideUpFade 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    height: 100%;
    flex-direction: column;
}

.rs-step.active {
    display: flex;
}

.rs-step h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.rs-step-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Radio Cards (Step 1) */
.rs-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.rs-type-card {
    cursor: pointer;
    position: relative;
}

.rs-type-card input {
    display: none;
}

.card-inner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-inner:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.card-inner i {
    font-size: 2rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.card-inner span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.rs-type-card input:checked + .card-inner {
    background: rgba(138, 66, 255, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(138, 66, 255, 0.2);
}

.rs-type-card input:checked + .card-inner i {
    color: var(--color-primary-light);
}

/* Premium Form Inputs */
.rs-inputs-wrapper {
    flex-grow: 1;
}

.rs-input-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.rs-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.rs-input-group label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.rs-input-group input,
.rs-input-group select,
.rs-input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 24px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

.rs-input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239A94C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    padding-right: 50px;
}

.rs-input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rs-input-group input:focus,
.rs-input-group select:focus,
.rs-input-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(138, 66, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(138, 66, 255, 0.1);
}

/* Actions */
.rs-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-prev {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-prev:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-5px);
}

.btn-next, .btn-submit {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #fff;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(138, 66, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-next:hover, .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(138, 66, 255, 0.5);
}

/* Success Screen */
.success-content {
    text-align: center;
    padding: 40px 0;
    margin: auto;
}

.success-icon {
    font-size: 6rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: inline-block;
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
}

.success-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.2rem;
}

.btn-home {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: #fff;
    color: #000;
}

/* SweetAlert Custom Popup */
.rs-swal-popup {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px !important;
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6) !important;
    font-family: var(--font-primary) !important;
    padding: 2rem !important;
}

/* =================================================================
   HOW IT WORKS (Vertical Timeline)
   ================================================================== */
.rs-process {
    padding: 120px 0;
    background: var(--color-bg);
}

.rs-process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 100px;
}

.rs-process-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.rs-process-header p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Central glowing line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-primary), var(--color-secondary), transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 80px;
    width: 100%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The dot on the line */
.timeline-dot {
    position: absolute;
    top: 0;
    right: -24px;
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 20px rgba(138, 66, 255, 0.4);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -24px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    width: calc(100% - 60px);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(138, 66, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-heading);
}

.timeline-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================== */
@media (max-width: 1024px) {
    .rs-form-card {
        flex-direction: column;
        border-radius: 30px;
    }
    
    .rs-form-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 40px;
        flex-direction: row;
        align-items: center;
    }
    
    .rs-step-nav {
        flex-direction: row;
        gap: 20px;
    }
    
    .rs-nav-text, .rs-form-left-footer {
        display: none;
    }
    
    .rs-form-right {
        width: 100%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .rs-hero { padding-top: 160px; }
    
    .rs-form-section { padding: 0 0 80px 0; }
    
    .rs-form-card { border-radius: 20px; }
    
    .rs-form-left, .rs-form-right { padding: 30px 20px; }
    
    .rs-step h3 { font-size: 1.8rem; }
    
    .rs-type-grid { grid-template-columns: 1fr; }
    
    .rs-input-row { flex-direction: column; gap: 20px; margin-bottom: 20px; }
    
    .rs-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
        justify-content: center;
    }
    .btn-prev { order: 2; }
    .btn-next, .btn-submit { order: 1; }
    
    /* Timeline Mobile */
    .timeline-container::before {
        left: 24px;
    }
    
    .timeline-item, .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 70px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
        right: auto;
    }
    
    .timeline-content {
        width: 100%;
        padding: 30px 20px;
    }
}
