/* ===========================================
   Homepage Popup & Widget Styles
   Extracted from home.view for cacheability
   =========================================== */

/* --- Coming Soon Popup --- */
.pop-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}
.popup-overlay.show {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.popup-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 90%;
    animation: slideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.content-section {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #4d267c 0%, #c9104c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.content-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}
.content-section > * {
    position: relative;
    z-index: 1;
}
.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
    backdrop-filter: blur(10px);
    border: none;
}
.coming-soon-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.coming-soon-title .highlight {
    background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 25px 35px;
    border-radius: 16px;
    margin: 30px 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 18px;
}
.countdown-number {
    font-size: 48px;
    font-weight: 900;
    color: #ffd89b;
    text-shadow: 0 4px 15px rgba(255, 216, 155, 0.3);
    min-width: 70px;
}
.countdown-text {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
.description {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 35px;
    font-weight: 300;
    color:#fff;
}
.cta-button {
    background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
    color: #4d267c;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 216, 155, 0.4);
    letter-spacing: 0.5px;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 216, 155, 0.6);
}
.slider-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 500px;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 12px;
    animation: zoomIn 0.8s ease-out;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
@keyframes zoomIn {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.5);
}
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
    z-index: 10;
    font-weight: bold;
}
.nav-button:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.1);
}
.prev-btn { left: 25px; }
.next-btn { right: 25px; }
.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 20;
    font-weight: bold;
}
.close-btn:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: rotate(90deg);
}
@media (max-width: 768px) {
    .popup-container {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .content-section { padding: 25px 20px; }
    .badge { font-size: 10px; padding: 6px 12px; margin-bottom: 12px; }
    .coming-soon-title { font-size: 24px; margin-bottom: 12px; line-height: 1.3; }
    .countdown-box { padding: 15px 20px; margin: 15px 0; }
    .countdown-number { font-size: 28px; min-width: 50px; }
    .countdown-text { font-size: 14px; }
    .description { font-size: 13px; margin-bottom: 20px; line-height: 1.5; }
    .slider-section { min-height: 250px; }
    .slide img { width: 95%; height: 85%; }
    .nav-button { width: 40px; height: 40px; font-size: 18px; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    .close-btn { top: 15px; right: 15px; width: 35px; height: 35px; font-size: 24px; }
}

/* --- Bundle Popup --- */
.bundle-popup-overlay {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(77, 38, 124, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.bundle-popup-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    padding: 0;
    position: relative;
    margin: auto;
    animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(77, 38, 124, 0.35);
    overflow: hidden;
}
.popup-decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
.circle-1 { width: 120px; height: 120px; background: #4d267c; top: -60px; right: -30px; }
.circle-2 { width: 100px; height: 100px; background: #ef8010; bottom: -50px; left: -30px; }
.circle-3 { width: 70px; height: 70px; background: #c9104c; top: 50%; right: -20px; }
.bundle-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    z-index: 100;
    color: #4d267c;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.bundle-close-btn:hover {
    background: #4d267c;
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: #4d267c;
}
.bundle-header {
    background: linear-gradient(135deg, #4d267c 0%, #6b3a9e 50%, #ef8010 100%);
    padding: 30px 35px 25px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.bundle-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatCircle 8s ease-in-out infinite;
}
@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}
.bundle-badge-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}
.bundle-badge-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: none;
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}
.bundle-badge {
    font-size: 30px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.bundle-main-title {
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}
.bundle-subtitle-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 12px;
    border: none;
    position: relative;
    z-index: 1;
}
.bundle-subtitle {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.bundle-price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}
.bundle-price {
    padding-right:10px;
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
    line-height: 1;
}
.price-currency {
    font-size: 28px;
    vertical-align: super;
    margin-left: 2px;
}
.bundle-original-price {
    font-size: 18px;
    text-decoration: line-through;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.6);
}
.bundle-savings-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef8010, #ff9a3c);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(239, 128, 16, 0.4);
}
.bundle-body {
    padding: 25px 35px 30px;
    position: relative;
    z-index: 1;
    background: white;
}
.bundle-features-title {
    font-size: 17px;
    font-weight: 700;
    color: #4d267c;
    margin: 0 0 15px 0;
    text-align: center;
}
.bundle-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.bundle-features li {
    padding: 12px;
    background: rgba(248, 249, 250, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    transition: all 0.3s ease;
}
.bundle-features li:hover {
    transform: translateY(-2px);
    background: rgba(255, 248, 240, 0.5);
    box-shadow: 0 4px 12px rgba(239, 128, 16, 0.08);
}
.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #4d267c 0%, #ef8010 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(77, 38, 124, 0.2);
}
.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.feature-text strong {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 700;
}
.feature-desc {
    font-size: 11px;
    color: #7f8c8d;
    font-weight: 400;
}
.bundle-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #4d267c 0%, #6b3a9e 50%, #ef8010 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    border: none;
    border-radius: 30px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(77, 38, 124, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}
.bundle-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.bundle-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(77, 38, 124, 0.4);
    color: white;
    background-position: 100% 0%;
}
.bundle-cta-btn:hover::before { left: 100%; }
.cta-text { flex: 1; }
.bundle-cta-btn i { font-size: 14px; transition: transform 0.3s ease; }
.bundle-cta-btn:hover i { transform: translateX(3px); }
.bundle-footer-note {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
    color: #7f8c8d;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.bundle-footer-note i { color: #ef8010; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes popupSlideIn {
    0% { transform: translateY(50px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@media (max-width: 768px) {
    .bundle-popup-content { max-width: 95%; border-radius: 16px; }
    .bundle-header { padding: 25px 20px 20px; }
    .bundle-main-title { font-size: 20px; margin-bottom: 15px; }
    .bundle-price { font-size: 36px; }
    .bundle-original-price { font-size: 16px; }
    .bundle-body { padding: 20px 15px 25px; }
    .bundle-features { grid-template-columns: 1fr; gap: 10px; }
    .bundle-features li { padding: 12px; }
    .feature-icon { width: 35px; height: 35px; min-width: 35px; font-size: 14px; }
    .feature-text strong { font-size: 13px; line-height: 1.4; }
    .feature-desc { font-size: 11px; line-height: 1.4; margin-top: 2px; }
    .bundle-cta-btn { padding: 14px 20px; font-size: 14px; }
    .bundle-badge-circle { width: 50px; height: 50px; }
    .bundle-badge { font-size: 24px; }
    .bundle-features-title { font-size: 15px; margin-bottom: 12px; }
    .bundle-savings-badge { padding: 6px 12px; font-size: 11px; }
    .bundle-subtitle { font-size: 14px; }
    .bundle-subtitle-box { padding: 15px 12px; }
}
@media (max-width: 480px) {
    .bundle-main-title { font-size: 16px; }
    .bundle-price { font-size: 28px; }
    .circle-1, .circle-2, .circle-3 { display: none; }
}

/* --- Page Title Bar Override --- */
.page-title-bar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* --- WhatsApp Video Call Button --- */
.whatsapp-video-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsApp 2s infinite;
    text-decoration: none;
}
.whatsapp-video-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}
.whatsapp-video-float i.fab.fa-whatsapp { font-size: 32px; color: #fff; }
.whatsapp-video-float .video-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.whatsapp-video-float .video-badge i { font-size: 11px; color: #fff; }
.whatsapp-video-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #1a1a2e;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.whatsapp-video-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 8px solid transparent;
    border-top-color: #1a1a2e;
}
.whatsapp-video-float:hover .whatsapp-video-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@keyframes pulseWhatsApp {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}
@media (max-width: 768px) {
    .whatsapp-video-float { bottom: 80px; right: 15px; width: 55px; height: 55px; }
    .whatsapp-video-float i.fab.fa-whatsapp { font-size: 28px; }
}
