/* Futuristic cityscape theme - modern/futuristic styling */

body {
    background:
        linear-gradient(
            180deg,
            rgba(5, 38, 82, 0.82) 0%,
            rgba(15, 55, 95, 0.6) 35%,
            rgba(50, 80, 120, 0.4) 60%,
            rgba(184, 95, 0, 0.15) 100%
        ),
        url('https://res.cloudinary.com/dbtcg826q/image/upload/w_768,c_fill,g_auto,f_auto,q_auto,dpr_auto/v1771511647/common/sp-buckets/img/future-city.webp') center 80%/cover no-repeat;
    background-color: #152547;
}

/* Header - futuristic bar to match cityscape theme */
.site-header {
    background: linear-gradient(180deg, rgba(5, 38, 82, 0.92) 0%, rgba(15, 55, 95, 0.88) 100%);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(230, 129, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    text-align: left;
}

/* Tablet: larger image for better quality */
@media (min-width: 769px) {
    body {
        background:
            linear-gradient(
                180deg,
                rgba(5, 38, 82, 0.82) 0%,
                rgba(15, 55, 95, 0.6) 35%,
                rgba(50, 80, 120, 0.4) 60%,
                rgba(184, 95, 0, 0.15) 100%
            ),
            url('https://res.cloudinary.com/dbtcg826q/image/upload/w_1280,c_fill,g_auto,f_auto,q_auto,dpr_auto/v1771511647/common/sp-buckets/img/future-city.webp') center 80%/cover no-repeat;
    }
}

/* Desktop: full resolution for large screens */
@media (min-width: 1200px) {
    body {
        background:
            linear-gradient(
                180deg,
                rgba(5, 38, 82, 0.82) 0%,
                rgba(15, 55, 95, 0.6) 35%,
                rgba(50, 80, 120, 0.4) 60%,
                rgba(184, 95, 0, 0.15) 100%
            ),
            url('https://res.cloudinary.com/dbtcg826q/image/upload/w_1920,c_fill,g_auto,f_auto,q_auto,dpr_auto/v1771511647/common/sp-buckets/img/future-city.webp') center 80%/cover no-repeat;
    }
}

/* Main content - transparent so body's city shows through */
#main-content {
    background: transparent;
}

/* Form Section - layered background with city image */
.form-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0rem;
    min-height: 500px;
    overflow: hidden;
    background: transparent;
}

.form-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    box-shadow: none;
}

.form-container {
    position: relative;
    z-index: 2;
}

/* Transparent container so cityscape shows through behind form */
#loan-form-container {
    background: transparent;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Futuristic "Get Started" Steps Section ========== */
.steps-section {
    background: linear-gradient(180deg, #0a1428 0%, #0f1f3a 35%, #152547 100%);
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Subtle grid overlay */
.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(230, 129, 0, 0.04) 39px,
            rgba(230, 129, 0, 0.04) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(230, 129, 0, 0.04) 39px,
            rgba(230, 129, 0, 0.04) 40px
        );
    pointer-events: none;
}

.steps-section > * {
    position: relative;
    z-index: 1;
}

/* Header */
#hero-steps .steps-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

#hero-steps .steps-main-title {
    font-family: 'Orbitron', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(230, 129, 0, 0.3);
    margin: 0 0 0.6rem;
}

#hero-steps .steps-subtitle {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
    line-height: 1.5;
}

/* Steps container - horizontal on mobile, stacked on desktop when sidebar */
#hero-steps .steps-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(15, 40, 70, 0.5);
    border: 1px solid rgba(230, 129, 0, 0.25);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Individual step cards */
#hero-steps .step {
    text-align: center;
    padding: 2rem 1.25rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

#hero-steps .step + .step {
    border-left: 1px solid rgba(230, 129, 0, 0.15);
}

#hero-steps .step:hover {
    background: rgba(230, 129, 0, 0.08);
    box-shadow: inset 0 0 30px rgba(230, 129, 0, 0.06);
}

/* Step number badge (futuristic) - left-aligned corner indicator */
#hero-steps .step::before {
    content: attr(data-step);
    position: absolute;
    top: 0.6rem;
    left: 0.75rem;
    min-width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(230, 129, 0, 0.95);
    background: rgba(230, 129, 0, 0.12);
    border: 1px solid rgba(230, 129, 0, 0.35);
    border-radius: 4px;
}

/* Futuristic icon - hexagon-style container with glow */
#hero-steps .step-icon {
    width: 72px;
    height: 72px;
    margin: 0.5rem auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(184, 95, 0, 0.3) 0%, rgba(230, 129, 0, 0.2) 100%);
    border: 1px solid rgba(230, 129, 0, 0.5);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    color: #ffb347;
    font-size: 1.5rem;
    box-shadow:
        0 0 20px rgba(230, 129, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#hero-steps .step-icon i {
    filter: drop-shadow(0 0 6px rgba(255, 179, 71, 0.6));
}

/* Title and description */
#hero-steps .step-title {
    font-family: 'Orbitron', 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e2e8f0;
    margin: 0 0 0.5rem;
}

#hero-steps .step-description {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.5;
    margin: 0;
}

/* Desktop: form + steps side-by-side, balanced layout */
@media (min-width: 925px) {
    #main-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0rem;
    }

    #main-content .form-section {
        grid-column: 1;
        grid-row: 1;
        border-radius: 0 0 0 20px;
    }

    #main-content .steps-section {
        grid-column: 2;
        grid-row: 1;
        padding: 2rem 2rem 2rem;
        border-radius: 0 0 20px 0;
        display: flex;
        flex-direction: column;
    }

    #main-content .additional-content {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    /* Steps stacked vertically in sidebar - sized for balanced column */
    #hero-steps .steps-header {
        margin-bottom: 1.5rem;
    }

    #hero-steps .steps-main-title {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }

    #hero-steps .steps-container {
        grid-template-columns: 1fr;
        max-width: none;
    }

    #hero-steps .step + .step {
        border-left: 0;
        border-top: 1px solid rgba(230, 129, 0, 0.15);
    }

    #hero-steps .step {
        padding: 1.5rem 0.5rem;
    }

    #hero-steps .step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.35rem;
        margin: 0.35rem auto 0.85rem;
    }

    #hero-steps .step-title {
        font-size: 1.05rem;
    }

    #hero-steps .step-description {
        font-size: 0.95rem;
    }
}

/* Disclaimer - dark theme to match steps section */
#disclaimer {
    background: linear-gradient(180deg, #152547 0%, #1a2d4a 100%);
    border-top: 1px solid rgba(230, 129, 0, 0.2);
    padding: 2rem 1rem;
}

#disclaimer,
#disclaimer .disclaimer-content,
#disclaimer p {
    color: rgba(226, 232, 240, 0.92);
}

#disclaimer strong {
    color: #f1f5f9;
}

/* Mobile: stack steps vertically, reduce form padding to match steps width */
@media (max-width: 768px) {
    .form-container {
        padding: 0rem;
    }
    
    .form-section {
        padding: 0.25rem 0.25rem;
    }

    #loan-form-container {
        padding: 0;
    }

    .steps-section {
        padding: 2rem 1rem 3rem;
    }

    #hero-steps .steps-container {
        grid-template-columns: 1fr;
    }

    #hero-steps .step + .step {
        border-left: 0;
        border-top: 1px solid rgba(230, 129, 0, 0.15);
    }

    #hero-steps .step {
        padding: 1.5rem 1rem;
    }

    #hero-steps .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

}

/* Form button hover */
.form-background button:hover,
.form-background input[type="submit"]:hover,
.form-background .btn:hover {
    background-color: #052652 !important;
}

/* Footer - match navy theme (header, steps, disclaimer) */
.site-footer {
    background: linear-gradient(180deg, #0f2744 0%, #052652 100%);
    border-top: 1px solid rgba(230, 129, 0, 0.15);
}

.site-footer .footer-links a {
    color: #e2e8f0;
    text-decoration: underline;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: #ffb347;
    text-decoration: underline;
    background: none;
    text-shadow: 0 0 8px rgba(255, 179, 71, 0.7), 0 0 16px rgba(230, 129, 0, 0.4);
}

.site-footer .footer-info,
.site-footer .footer-info p {
    color: rgba(226, 232, 240, 0.9);
}

.site-footer .copyright {
    color: rgba(203, 213, 225, 0.75);
}

/* Tablet and up */


/* Desktop and up */
