/* Footer Section */
.footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 20px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #1f2937;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-info .brand-logo {
    display: flex;
    align-items: center;
    
}

.logo-img {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.brand-tagline {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.brand-trust {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

/* Footer Utilities */
.footer-utilities {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

/* Social Media */
.social-media {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.social-icon:hover {
    color: #1f2937;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

/* Payment and Delivery */
.payment-delivery {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.payment-methods,
.delivery-partners {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.utility-heading {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons,
.delivery-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.payment-icon {
    height: 25px;
    width: auto;
    border-radius: 4px;
}

.delivery-icon {
    height: 30px;
    width: auto;
    border-radius: 4px;
}

/* Footer Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-copyright p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-utilities {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .payment-delivery {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .footer-heading {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .brand-name {
        font-size: 22px;
    }
    
    .brand-tagline {
        font-size: 15px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .payment-icon {
        height: 22px;
    }
    
    .delivery-icon {
        height: 26px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .footer-heading {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .brand-info .brand-logo {
        margin-bottom: 12px;
    }
    
    .logo-img {
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 14px;
    }
    
    .brand-trust {
        font-size: 12px;
    }
    
    .social-media {
        gap: 8px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .payment-delivery {
        gap: 20px;
    }
    
    .payment-icons,
    .delivery-icons {
        gap: 6px;
    }
    
    .payment-icon {
        height: 20px;
    }
    
    .delivery-icon {
        height: 24px;
    }
    
    .utility-heading {
        font-size: 11px;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-nav {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .footer-heading {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .brand-tagline {
        font-size: 13px;
    }
    
    .brand-trust {
        font-size: 11px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .payment-icon {
        height: 18px;
    }
    
    .delivery-icon {
        height: 22px;
    }
}

/* Elegant spacing adjustments when navigation/utilities are commented out */
.footer-container:has(> .footer-copyright:only-child) {
    padding: 0 20px;
}

.footer:has(.footer-copyright:only-child) {
    padding: 24px 0;
}

.footer:has(.footer-copyright:only-child) .footer-copyright {
    border-top: none;
    padding-top: 0;
}

/* Beta Notice Modal Popup */
.beta-notice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.beta-notice-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.beta-notice-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
    padding: 32px 24px 24px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.beta-notice-modal.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.beta-notice-content {
    position: relative;
    width: 100%;
}

.beta-close-btn {
    position: absolute;
    top: -20px;
    right: -10px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px;
}

.beta-close-btn:hover {
    color: #374151;
}

.beta-icon-wrapper {
    width: 56px;
    height: 56px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.beta-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    font-family: inherit;
}

.beta-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 16px;
    font-family: inherit;
}

.beta-text-sub {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 24px;
    font-family: inherit;
}

.beta-link {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
}

.beta-link:hover {
    text-decoration: underline;
}

.beta-link-external {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.beta-dismiss-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.beta-dismiss-btn:hover {
    background: #b91c1c;
}
