/* Footer CSS - Финална версия */
.footer-modern {
    background-color: #181a1f; /* много тъмен графит */
    color: #b0b3b8; /* сребристо-сив текст */
    padding: 3rem 1rem 1rem;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.5);
    border-top: 3px solid #4a5568; /* тъмен сив кант */
}

.footer-main-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* За проекта секция */
.footer-about {
    grid-column: 1;
}

.footer-description {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.footer-sign {
    margin-top: 1rem;
}

.stat-signIn {
    display: flex;
    flex-direction: row;
    gap: 5.9rem;
}

.stat-signIn .footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stat-signIn .footer-link:hover {
    background-color: #2d3748;

}

/* Навигация секция */
.footer-navigation {
    grid-column: 2;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav .footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-nav .footer-link:hover {
    color: #e2e8f0;
}

.footer-nav .footer-link i {
    width: 16px;
    font-size: 0.9rem;
}

/* Правна информация секция */
.footer-legal {
    grid-column: 3;
}

/* Контакти секция */
.footer-contact {
    grid-column: 4;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-item i {
    width: 16px;
    color: #4b9f3e;
    font-size: 0.9rem;
}

.footer-text {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Footer Extended секция */
.footer-extended {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #4a5568;
    border-bottom: 1px solid #4a5568;
    margin-bottom: 2rem;
}

/* Newsletter секция */
.footer-newsletter {
    grid-column: 1;
}

.newsletter-description {
    color: #a0aec0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #4a5568;
    border-radius: 6px;
    background-color: #2d3748;
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.newsletter-input input:focus {
    outline: none;
    border-color: #4b9f3e;
    box-shadow: 0 0 0 2px rgba(75, 159, 62, 0.2);
}

.newsletter-input input::placeholder {
    color: #a0aec0;
}

.newsletter-btn {
    padding: 0.75rem 1rem;
    background-color: #4b9f3e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: #5cb85c;
}

.newsletter-btn:active {
    transform: translateY(1px);
}

.newsletter-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.newsletter-status {
    font-size: 0.85rem;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: none;
}

.newsletter-status.success {
    background-color: rgba(75, 159, 62, 0.2);
    color: #4b9f3e;
    border: 1px solid #4b9f3e;
    display: block;
}

.newsletter-status.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
    display: block;
}

.newsletter-status.loading {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
    display: block;
}

/* Security секция */
.footer-security {
    grid-column: 2;
    background-color: #2d3748;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: 0 0 10px rgba(66, 75, 100, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    margin-top: 0.9rem;
}

.security-title {
    font-weight: 300;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: #a0aec0;
    text-align: center;
    letter-spacing: 0.04em;
}

.security-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.security-links a img {
    height: 18px;
    width: auto;
    filter: brightness(0.85) saturate(0.9);
    transition: filter 0.25s ease;
}

.security-links a:hover img,
.security-links a:focus img {
    filter: brightness(1.1) drop-shadow(0 0 5px #a0aec0);
    outline: none;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom-center {
    text-align: center;
}

.footer-copy {
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    color: #e2e8f0;
}

.footer-info {
    font-weight: 300;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 0;
}

/* Общи стилове за линкове */
.footer-link {
    color: #a0aec0;
    font-weight: 400;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #e2e8f0;
    text-decoration: none;
    outline-offset: 2px;
}