/* ============================================================
   Atomquark — Modern footer
   All selectors prefixed with #footer.atom-footer (root) or
   #footer.atom-footer .atom-footer__X (descendants) so they beat
   the existing #footer rules in style.css (specificity 100).
   ============================================================ */

#footer.atom-footer {
    position: relative;
    background: #0b1020 !important;
    background-image:
        radial-gradient(at 20% 0%, rgba(79, 70, 229, 0.18) 0%, transparent 50%),
        radial-gradient(at 80% 100%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #0b1020 0%, #060912 100%) !important;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.65;
    overflow: hidden;
}

/* Top accent strip: cyan-to-indigo-to-purple gradient */
#footer.atom-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4 0%, #4f46e5 50%, #a855f7 100%);
    z-index: 2;
}

#footer.atom-footer .container {
    position: relative;
    z-index: 1;
}

/* ----- Main grid ----- */
#footer.atom-footer .atom-footer__main {
    padding: 70px 0 50px;
}

#footer.atom-footer .atom-footer__col {
    margin-bottom: 36px;
}

/* ----- Brand column ----- */
#footer.atom-footer .atom-footer__brand {
    max-width: 360px;
}

#footer.atom-footer .atom-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 18px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#footer.atom-footer .atom-footer__logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(6, 182, 212, 0.35), 0 0 0 1px rgba(6, 182, 212, 0.3);
}

#footer.atom-footer .atom-footer__logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

#footer.atom-footer .atom-footer__tagline {
    color: #f1f5f9 !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin: 0 0 14px;
    font-family: inherit;
}

#footer.atom-footer .atom-footer__about {
    color: #94a3b8 !important;
    font-size: 14px;
    margin: 0 0 22px;
    line-height: 1.7;
    font-family: inherit;
}

/* Social icons */
#footer.atom-footer .atom-footer__social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#footer.atom-footer .atom-footer__social a:not(.btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1 !important;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

#footer.atom-footer .atom-footer__social a:not(.btn):hover {
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%);
    border-color: transparent;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

/* ----- Column headings ----- */
#footer.atom-footer .atom-footer__heading {
    position: relative;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 0 0 24px;
    padding-bottom: 14px;
    font-family: inherit;
}

#footer.atom-footer .atom-footer__heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #4f46e5);
    border-radius: 2px;
}

/* ----- Link lists ----- */
#footer.atom-footer .atom-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer.atom-footer .atom-footer__links li {
    margin-bottom: 11px;
}

#footer.atom-footer .atom-footer__links a:not(.btn) {
    position: relative;
    display: inline-block;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 14px;
    padding-left: 0;
    transition: all 0.25s ease;
    line-height: 1.5;
}

#footer.atom-footer .atom-footer__links a:not(.btn)::before {
    content: "›";
    position: absolute;
    left: -14px;
    opacity: 0;
    color: #06b6d4;
    font-weight: 700;
    transition: all 0.25s ease;
}

#footer.atom-footer .atom-footer__links a:not(.btn):hover {
    color: #ffffff !important;
    padding-left: 14px;
}

#footer.atom-footer .atom-footer__links a:not(.btn):hover::before {
    opacity: 1;
    left: 0;
}

/* ----- Contact info column ----- */
#footer.atom-footer .atom-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

#footer.atom-footer .atom-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #cbd5e1 !important;
    font-size: 13.5px;
    line-height: 1.55;
}

#footer.atom-footer .atom-footer__contact-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(6, 182, 212, 0.13);
    color: #06b6d4 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

#footer.atom-footer .atom-footer__contact a:not(.btn) {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

#footer.atom-footer .atom-footer__contact a:not(.btn):hover {
    color: #06b6d4 !important;
}

/* CTA button in contact column */
#footer.atom-footer .atom-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    border: none;
}

#footer.atom-footer .atom-footer__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(79, 70, 229, 0.55);
    color: #ffffff !important;
}

#footer.atom-footer .atom-footer__cta i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

#footer.atom-footer .atom-footer__cta:hover i {
    transform: translateX(4px);
}

/* ----- Bottom bar ----- */
#footer.atom-footer .atom-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    background: rgba(0, 0, 0, 0.2);
}

#footer.atom-footer .atom-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#footer.atom-footer .atom-footer__copy {
    margin: 0;
    color: #94a3b8 !important;
    font-size: 13px;
    font-family: inherit;
}

#footer.atom-footer .atom-footer__legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

#footer.atom-footer .atom-footer__legal a:not(.btn) {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

#footer.atom-footer .atom-footer__legal a:not(.btn):hover {
    color: #06b6d4 !important;
}

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
    #footer.atom-footer .atom-footer__main {
        padding: 50px 0 30px;
    }
    #footer.atom-footer .atom-footer__brand {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    #footer.atom-footer .atom-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    #footer.atom-footer .atom-footer__legal {
        justify-content: center;
    }
}
