/* ============ FOOTER ============ */
.site-footer {
    position: relative;
    background-color: #020617;
    color: #e5e7eb;
    padding: 56px 0 24px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    font-family: "Inter Tight", sans-serif;
}

.footer-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 24px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .logo-text {
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    display: block;
}

.footer-brand .logo-text .agri {
    background: rgb(33, 255, 33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .logo-text .sentry {
    color: #ffffff;
}

.footer-tagline {
    margin-top: 4px;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s ease;
    text-decoration: none;
}

.social-link svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.social-link:hover {
    color: #ffffff;
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(229, 231, 235, 0.2);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: "Inter Tight", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #e5e7eb;
    letter-spacing: 0.3px;
    width: fit-content;
}

.footer-app-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(229, 231, 235, 0.3);
    color: #ffffff;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
}

.footer-newsletter input[type="email"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-newsletter input[type="email"]::placeholder {
    color: #6b7280;
}

.footer-newsletter input[type="email"]:focus {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter button {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    background: #22c55e;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: fit-content;
}

.footer-newsletter button:hover {
    background: #16a34a;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.85rem;
    color: #6b7280;
    position: relative;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-app-badges {
        grid-column: 1 / -1;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-app-badges {
        align-items: center;
    }
    
    .footer-app-badge {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-newsletter {
        align-items: center;
    }
    
    .footer-newsletter input[type="email"] {
        width: 100%;
        max-width: 320px;
    }
    
    .footer-newsletter button {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        padding: 0 16px;
        gap: 28px;
    }
    
    .footer-bottom {
        margin-top: 32px;
        padding-top: 20px;
        font-size: 0.8rem;
    }
}
