/* ==========================================================
   DevoEnv — Footer styles
   ========================================================== */
footer {
    background: #0C1730;
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
    --footer-text: #8EA4C4;
    --footer-title: #E8EFF8;
    --footer-border: rgba(255, 255, 255, 0.08);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 82, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1.4fr 1fr 1.4fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1.2rem;
}

.footer-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.footer-desc {
    color: var(--footer-text);
    line-height: 1.85;
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--footer-title);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.75rem; }

.footer-links li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links li a::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    color: var(--primary);
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-list { list-style: none; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--footer-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.fc-icon {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-contact-list a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.footer-tagline { font-size: 0.82rem; }

[dir="rtl"] .footer-links li a { flex-direction: row-reverse; }
[dir="rtl"] .footer-links li a:hover { transform: translateX(-6px); }

@media (max-width: 1100px) {
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
