/* Timed Popup Styles */
.timed-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.timed-popup.active {
    opacity: 1;
    visibility: visible;
}

.timed-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 31, 68, 0.8);
    backdrop-filter: blur(8px);
}

.timed-popup-content {
    position: relative;
    width: 95%;
    max-width: 900px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timed-popup.active .timed-popup-content {
    transform: translateY(0) scale(1);
}

.timed-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #0a1f44;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.timed-popup-close:hover {
    background: #f28c1b;
    color: #fff;
    transform: rotate(90deg);
}

.timed-popup-body {
    display: flex;
    flex-wrap: wrap;
    min-height: 450px;
}

.timed-popup-image {
    flex: 1;
    min-width: 350px;
}

.timed-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timed-popup-text {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-badge {
    background: #e8f5f4;
    color: #136964;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    width: fit-content;
}

.timed-popup-text h2 {
    font-size: 2.2rem;
    color: #0a1f44;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.timed-popup-text h2 span {
    color: #f28c1b;
}

.timed-popup-text p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.feature-item span.material-symbols-outlined {
    color: #136964;
    font-size: 1.2rem;
}

.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-popup-primary {
    background: #0a1f44;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(10, 31, 68, 0.2);
}

.btn-popup-primary:hover {
    background: #f28c1b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(242, 140, 27, 0.3);
}

.btn-popup-secondary {
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-popup-secondary:hover {
    background: #1ebc56;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

.popup-footer-text {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-bottom: 0 !important;
    font-style: italic;
}

@media (max-width: 768px) {
    .timed-popup-image {
        display: none;
    }
    .timed-popup-text {
        padding: 40px 30px;
    }
    .timed-popup-text h2 {
        font-size: 1.8rem;
    }
}
