/* ======================================================
   TiffinManager – Dedicated Meta Ads Landing Page CSS
   Loaded ONLY on /landing/tiffin and /landing/tiffin/hi
   ====================================================== */

/* Floating WhatsApp Widget */
.fe-wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fe-wa-pulse 2.5s infinite;
}

.fe-wa-float.sticky-active {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(10px);
}

.fe-wa-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.fe-wa-float-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@keyframes fe-wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Sticky CTA Bottom Bar */
.fe-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(30, 58, 95, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.fe-sticky-cta.active {
    transform: translateY(0);
}

.fe-sticky-cta-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fe-sticky-cta-text span.badge-promo {
    background: #FF6B35;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Problem vs Solution Comparison Cards */
.fe-problem-card {
    background: #FFF5F5;
    border: 1px solid #FECDD3;
    border-radius: 20px;
    padding: 18px;
    height: 100%;
    transition: all 0.3s ease;
}

.fe-problem-card:hover {
    border-color: #F43F5E;
    box-shadow: 0 10px 25px rgba(244, 63, 94, 0.1);
}

.fe-problem-icon {
    width: 48px;
    height: 48px;
    background: #FFE4E6;
    color: #E11D48;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.fe-solution-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.fe-solution-card:hover {
    border-color: #10B981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.12);
}

.fe-solution-icon {
    width: 48px;
    height: 48px;
    background: #DCFCE7;
    color: #059669;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* Video Showcase Box */
.fe-video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    background: #0F172A;
    border: 3px solid rgba(255, 107, 53, 0.3);
}

.fe-video-preview {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.fe-video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    text-align: center;
}

.fe-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FF6B35;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    animation: fe-play-pulse 2s infinite;
    transition: transform 0.3s ease;
    border: none;
}

.fe-play-btn:hover {
    transform: scale(1.1);
    background: #e85621;
}

@keyframes fe-play-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* Interactive Screenshot Tabs */
.fe-screenshot-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.fe-screenshot-tab {
    background: #ffffff;
    border: 1px solid var(--fe-border-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--fe-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fe-screenshot-tab.active,
.fe-screenshot-tab:hover {
    background: var(--fe-primary);
    color: #ffffff;
    border-color: var(--fe-primary);
    box-shadow: var(--fe-shadow-primary);
}

.fe-screenshot-frame {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--fe-border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 12px;
    overflow: hidden;
}

/* Landing CTA Card */
.fe-landing-cta-card {
    background: linear-gradient(135deg, #1E3A5F 0%, #0F172A 100%);
    border-radius: 32px;
    padding: 60px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(30, 58, 95, 0.4);
}

.fe-landing-cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,107,53,0.35) 0%, rgba(255,107,53,0) 70%);
    border-radius: 50%;
}

.fe-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(255, 107, 53, 0.3);
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.12);
}

.fe-lang-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fe-muted);
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fe-lang-btn.active {
    background: var(--fe-primary);
    color: #ffffff !important;
    box-shadow: var(--fe-shadow-primary);
}

@media (max-width: 575.98px) {
    .fe-wa-float span.wa-text { display: none; }
    .fe-wa-float { padding: 14px; border-radius: 50%; }
    .fe-wa-float.sticky-active { opacity: 0; pointer-events: none; }
    .fe-landing-cta-card { padding: 36px 20px; }
    .fe-sticky-cta-text { font-size: 0.88rem; }
}
