/* Footer Component Styles - Based on Figma Design */
.footer {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 680px;
    margin: 0 auto;
    background: linear-gradient(180deg, #131114 0%, rgba(19, 17, 20, 0) 100%);
}

/* Vertical border lines for footer */
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    pointer-events: none;
}

.footer::before {
    left: 0;
}

.footer::after {
    right: 0;
}

.footer__container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

/* Logo */
.footer__logo-section {
    position: absolute;
    width: 200px;
    height: 64px;
    left: 150px;
    top: 94px;
}

.footer__logo img {
    width: 200px;
    height: auto;
}

/* Social Icons */
.footer__social {
    position: absolute;
    top: 94px;
    right: 150px;
    display: flex;
    gap: 8px;
}

.footer__social-link {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255, 123, 0, 0.4);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer__social-link svg {
    width: 14px;
    height: 14px;
}

.footer__social-link:hover {
    background: #FF6C00;
    transform: translateY(-2px);
}

/* Top divider from Figma */
.footer__divider-top {
    position: absolute;
    width: 1440px;
    height: 0px;
    left: 0px;
    top: 206px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation */
.footer__column:nth-child(1) {
    position: absolute;
    left: 150px;
    top: 254px;
}

.footer__column:nth-child(2) {
    position: absolute;
    left: 450px;
    top: 254px;
}

.footer__column-title {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 200%;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 16px;
}

.footer__link {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #B3B3B3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #FF6C00;
}

.footer__link--accent {
    font-weight: 600;
    color: #FF6C00;
}

/* Newsletter */
.footer__column--wide {
    position: absolute;
    left: 843px;
    top: 254px;
}

.footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__input-wrapper {
    position: relative;
}

.footer__input {
    box-sizing: border-box;
    width: 447px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer__input::placeholder {
    color: #B3B3B3;
}

.footer__input:focus {
    outline: none;
    border-bottom-color: #FF6C00;
    background: rgba(255, 255, 255, 0.08);
}

.footer__submit {
    box-sizing: border-box;
    width: 156px;
    height: 52px;
    background: #FF6C00;
    border: 1px solid #FF9939;
    border-radius: 90px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer__submit:hover {
    background: #FF8820;
    transform: translateY(-1px);
}

/* Bottom divider from Figma */
.footer__divider-bottom {
    position: absolute;
    width: 1440px;
    height: 0px;
    left: 0px;
    top: 548px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom section */
.footer__bottom {
    position: absolute;
    bottom: 70px;
    left: 150px;
    right: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.01em;
    color: #6D6D6D;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__legal-link {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.01em;
    text-align: right;
    color: #6D6D6D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: #FF6C00;
}

.footer__legal-separator {
    width: 1px;
    height: 10px;
    background: #6D6D6D;
}

/* Remove default button styles */
.btn.btn-primary.footer__submit {
    padding: 0;
}

/* Mobile adjustments */
@media (max-width: 1440px) {
    .footer {
        position: relative;
        top: auto;
        width: 100%;
    }
    
    .footer__container {
        width: 100%;
        max-width: 1440px;
    }
    
    .footer__divider-top,
    .footer__divider-bottom {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .footer {
        height: auto;
        padding: 60px 20px;
    }
    
    .footer__container {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .footer__logo-section {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 30px;
    }
    
    .footer__social {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .footer__divider-top {
        position: relative;
        top: auto;
        margin: 30px 0;
    }
    
    .footer__column {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 40px;
    }
    
    .footer__column--wide {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
    }
    
    .footer__input {
        width: 100%;
        max-width: 447px;
    }
    
    .footer__divider-bottom {
        position: relative;
        top: auto;
        margin: 30px 0;
    }
    
    .footer__bottom {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer__column-title {
        font-size: 18px;
    }
    
    .footer__link {
        font-size: 14px;
    }
    
    .footer__copyright,
    .footer__legal-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 16px;
    }
    
    .footer__logo img {
        width: 150px;
    }
    
    .footer__social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer__submit {
        width: 100%;
    }
}