/* ============================================ */
/* footer.css - EMI Mart Premium Footer Styles  */
/* Dark Luxury Theme | Glassmorphism | Mobile First */
/* ============================================ */

:root {
    --primary-dark: #0F172A;
    --primary-deeper: #07101F;
    --accent-orange: #F97316;
    --accent-hover: #ea580c;
    --text-white: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-deeper);
}

/* ========== FOOTER CONTAINER ========== */
.emi-mart-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
    color: var(--text-white);
    position: relative;
    overflow-x: hidden;
}

/* ========== SECTION 1: NEWSLETTER BANNER ========== */
.newsletter-premium-banner {
    padding: 40px 24px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.newsletter-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.accent-text {
    color: var(--accent-orange);
    position: relative;
}

.newsletter-subheadline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.premium-input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.premium-input-group:focus-within {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.newsletter-input {
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: var(--text-white);
    font-size: 1rem;
    flex: 1;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-submit-btn {
    background: var(--accent-orange);
    border: none;
    padding: 12px 28px;
    border-radius: 60px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.newsletter-submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ========== SECTION 2: TRUST CARDS ========== */
.trust-section {
    padding: 60px 0;
}

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.trust-card:hover {
    transform: translateY(-8px);
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4);
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ========== SECTION 3: MAIN FOOTER ========== */
.main-footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.logo-dark {
    color: var(--text-white);
}

.logo-accent {
    color: var(--accent-orange);
}

.brand-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.highlight-link {
    color: var(--accent-orange) !important;
    font-weight: 500;
}

.student-link {
    background: rgba(249, 115, 22, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* ========== SECTION 4: STUDENT PROGRAM CTA ========== */
.student-program-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 32px;
    padding: 48px 40px;
    margin: 40px auto;
    border: 1px solid rgba(249, 115, 22, 0.3);
    backdrop-filter: blur(8px);
}

.student-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.student-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.student-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.student-verify-btn {
    background: var(--accent-orange);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.student-verify-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.student-illustration-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(249, 115, 22, 0.3);
}

.illustration-content {
    text-align: center;
    color: var(--text-secondary);
}

.illustration-content i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 12px;
    display: block;
}

/* ========== SECTION 5: PAYMENT METHODS ========== */
.payment-methods {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-white);
}

.payment-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.payment-icon-placeholder {
    width: 70px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.payment-icon-placeholder::before {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.payment-icon-placeholder.visa::before { content: "VISA"; }
.payment-icon-placeholder.mastercard::before { content: "Mastercard"; }
.payment-icon-placeholder.rupay::before { content: "RuPay"; }
.payment-icon-placeholder.upi::before { content: "UPI"; }
.payment-icon-placeholder.paytm::before { content: "Paytm"; }
.payment-icon-placeholder.phonepe::before { content: "PhonePe"; }
.payment-icon-placeholder.googlepay::before { content: "Google Pay"; }
.payment-icon-placeholder.stripe::before { content: "Stripe"; }

.payment-icon-placeholder:hover {
    transform: translateY(-5px);
    background: rgba(249, 115, 22, 0.2);
}

/* ========== SECTION 6: APP DOWNLOAD ========== */
.app-download {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.app-download-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.app-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-store-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.app-store-btn:hover {
    background: rgba(249, 115, 22, 0.15);
    transform: translateY(-3px);
}

.app-store-btn i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.btn-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-text span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.app-qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.qr-placeholder-img {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(249,115,22,0.1) 0px, rgba(249,115,22,0.1) 10px, transparent 10px, transparent 20px);
    border-radius: 16px;
}

/* ========== SECTION 7: CONTACT INFORMATION ========== */
.contact-info-section {
    padding: 60px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p,
.contact-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--accent-orange);
}

.map-placeholder {
    margin-top: 32px;
}

.google-map-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--glass-border);
}

/* ========== SECTION 8: BOTTOM BAR ========== */
.bottom-bar {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.4);
}

.bottom-bar-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.copyright {
    color: var(--text-muted);
}

.brand-name {
    color: var(--accent-orange);
    font-weight: 600;
}

.made-with {
    color: var(--text-secondary);
}

.made-with i {
    color: #ff4757;
    animation: pulse 1.5s infinite;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--accent-orange);
}

/* ========== SEO RICH TEXT (Hidden) ========== */
.seo-rich-text {
    display: none;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent-orange);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}

/* ========== ANIMATIONS ========== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .newsletter-glass-card {
        padding: 32px 24px;
    }
    
    .newsletter-headline {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .newsletter-subheadline {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .premium-input-group {
        flex-direction: column;
        background: transparent;
        gap: 12px;
    }
    
    .newsletter-input {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 60px;
    }
    
    .newsletter-submit-btn {
        width: 100%;
    }
    
    .trust-card {
        padding: 20px 12px;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
    
    .student-program-card {
        padding: 32px 24px;
        margin: 20px;
        text-align: center;
    }
    
    .student-headline {
        font-size: 1.5rem;
    }
    
    .app-download-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .bottom-bar-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .trust-card h4 {
        font-size: 0.9rem;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .payment-icons-wrapper {
        gap: 12px;
    }
    
    .payment-icon-placeholder {
        width: 55px;
        height: 40px;
    }
}