
/* ===== Footer Variables ===== */
:root {
    --footer-bg: #1a1a2e;
    --footer-dark: #0f0f1e;
    --footer-text: #b8b8d1;
    --footer-heading: #ffffff;
    --footer-link-hover: #2563eb;
    --footer-border: #2d2d44;
    --footer-input-bg: #16213e;
    --footer-button-bg: #2563eb;
    --footer-button-hover: #1d4ed8;
    --footer-social-bg: #2d2d44;
    --footer-social-hover: #2563eb;
}

/* ===== Footer Main Container ===== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: auto;
}

.footer-main {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--footer-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ===== Footer Column ===== */
.footer-column {
    display: flex;
    flex-direction: column;
}



/* ===== Footer Brand ===== */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    color: white;
    stroke: white;
}

.footer-brand-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--footer-text);
}

/* ===== Social Links ===== */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--footer-social-bg);
    border-radius: 8px;
    color: var(--footer-text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--footer-social-hover);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* ===== Footer Titles ===== */
.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--footer-heading);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--footer-button-bg);
}

/* ===== Footer Links ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--footer-link-hover);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    padding-left: 5px;
}

.footer-links a:hover::before {
    width: 100%;
}

/* ===== Newsletter Section ===== */
.footer-newsletter {
    max-width: 100%;
}

.newsletter-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--footer-text);
}

.newsletter-form {
    margin-bottom: 30px;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--footer-input-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--footer-border);
    transition: border-color 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--footer-button-bg);
}

.newsletter-input-group input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--footer-heading);
    font-size: 14px;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: var(--footer-text);
    opacity: 0.6;
}

.newsletter-btn {
    padding: 14px 18px;
    background: var(--footer-button-bg);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--footer-button-hover);
}

.newsletter-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== App Download Section ===== */
.app-download {
    margin-top: 10px;
}

.app-download-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-heading);
    margin-bottom: 15px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--footer-input-bg);
    border: 1px solid var(--footer-border);
    border-radius: 8px;
    color: var(--footer-heading);
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-btn:hover {
    background: var(--footer-social-bg);
    border-color: var(--footer-button-bg);
    transform: translateY(-2px);
}

.app-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn-small {
    font-size: 10px;
    color: var(--footer-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-btn-large {
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-heading);
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    background: var(--footer-dark);
    padding: 20px 0;
    width: 100%;
    
}

.footer-bottom-content {
  
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: var(--footer-text);
    margin: 0;
    line-height: 1.6;
}

.footer-bottom-links {
    width: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--footer-link-hover);
}

.separator {
    color: var(--footer-border);
    margin: 0 5px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 60px 0 30px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-column:first-child,
    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .app-buttons {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        grid-column: 1 / -1;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .app-buttons {
        flex-direction: column;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

/* ===== Animation for Newsletter Success ===== */
@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.newsletter-success {
    animation: successPulse 0.5s ease;
}