/**
 * Medicate International - Marketing & Conversion Styles
 */

/* ===== ANNOUNCEMENT BAR - DISABLED ===== */
.announcement-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
    animation: slideDown 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.announcement-icon { animation: pulse 1.5s infinite; }
.announcement-timer {
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.announcement-btn {
    background: #fff;
    color: #c0392b;
    padding: 5px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
}
.announcement-btn:hover { transform: scale(1.05); box-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.announcement-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.announcement-close:hover { opacity: 1; }
.announcement-hide { animation: slideUp 0.3s ease forwards; }

@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* ===== EXIT INTENT POPUP ===== */
.exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}
.exit-overlay.exit-active { opacity: 1; }
.exit-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.exit-active .exit-popup { transform: scale(1); }
.exit-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.exit-close:hover { background: #e74c3c; color: #fff; }
.exit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A5276, #2980b9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}
.exit-icon.success { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.exit-popup h3 { font-size: 1.4rem; margin-bottom: 10px; color: #1A5276; }
.exit-popup p { color: #555; margin-bottom: 15px; line-height: 1.6; }
.exit-form { display: flex; flex-direction: column; gap: 10px; }
.exit-form input {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    direction: ltr;
    transition: border-color 0.3s;
}
.exit-form input:focus { border-color: #1A5276; outline: none; }
.exit-submit {
    padding: 14px;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.exit-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(192,57,43,0.3); }
.exit-note { font-size: 0.8rem; color: #888; margin-top: 10px; }

/* ===== SOCIAL PROOF NOTIFICATIONS ===== */
.social-proof-container {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 9990;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.social-proof-container.spn-show { transform: translateX(0); }
.social-proof-notification {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border: 1px solid #f0f0f0;
    max-width: 320px;
    animation: bounceIn 0.4s;
}
.spn-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.spn-content { display: flex; flex-direction: column; gap: 2px; }
.spn-content strong { font-size: 0.85rem; color: #1A5276; }
.spn-content span { font-size: 0.8rem; color: #555; }
.spn-content small { font-size: 0.7rem; color: #999; }
.spn-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 5px;
    transition: color 0.3s;
}
.spn-close:hover { color: #e74c3c; }

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== REFERRAL TOAST ===== */
.referral-toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    opacity: 0;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(39,174,96,0.3);
    font-size: 0.9rem;
}
.referral-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== RATING WIDGET ===== */
.rating-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rating-stars { display: flex; gap: 3px; }
.rating-star {
    color: #ddd;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.rating-star:hover, .rating-star.active { color: #f39c12; transform: scale(1.2); }
.rating-text { font-size: 0.8rem; color: #888; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}
.comparison-table th {
    background: #1A5276;
    color: #fff;
    padding: 14px;
    font-weight: 600;
}
.comparison-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.comparison-table tr:nth-child(even) { background: #f8f9fa; }
.comparison-table tr:hover { background: #eef7ff; }

/* ===== OFFERS PAGE STYLES ===== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 20px 0;
}
.offer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #1A5276, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}
.offer-content { padding: 20px; }
.offer-content h3 { font-size: 1.2rem; color: #1A5276; margin-bottom: 8px; }
.offer-content p { color: #666; font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.offer-prices { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.offer-old-price { text-decoration: line-through; color: #999; font-size: 0.9rem; }
.offer-new-price { font-size: 1.3rem; font-weight: 800; color: #e74c3c; }
.offer-savings { background: #fef3f3; color: #e74c3c; padding: 3px 8px; border-radius: 5px; font-size: 0.75rem; font-weight: 600; }
.offer-timer {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin-bottom: 15px;
}
.offer-timer-label { font-size: 0.75rem; color: #888; margin-bottom: 5px; }
.offer-countdown { display: flex; justify-content: center; gap: 8px; }
.offer-countdown span {
    background: #1A5276;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}
.offer-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1A5276, #2980b9);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}
.offer-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(26,82,118,0.3); }

/* ===== DOCTORS PAGE ===== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.doctor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.doctor-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.doctor-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #1A5276, #154360);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
}
.doctor-info { padding: 20px; }
.doctor-info h3 { color: #1A5276; margin-bottom: 5px; }
.doctor-specialty { color: #2980b9; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.doctor-stats { display: flex; gap: 15px; margin-bottom: 12px; }
.doctor-stat { font-size: 0.8rem; color: #666; }
.doctor-stat i { color: #f39c12; margin-left: 4px; }
.doctor-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 15px; }
.doctor-rating .stars { color: #f39c12; }
.doctor-rating .count { font-size: 0.8rem; color: #888; }
.doctor-cta {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f0f7ff;
    color: #1A5276;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.doctor-cta:hover { background: #1A5276; color: #fff; }

/* ===== VIDEO GALLERY ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}
.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-info { padding: 15px; }
.video-info h4 { color: #1A5276; margin-bottom: 5px; font-size: 1rem; }
.video-info p { color: #666; font-size: 0.85rem; }

/* ===== TRAVEL GUIDE ===== */
.guide-sections { display: flex; flex-direction: column; gap: 30px; }
.guide-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.guide-section h3 {
    color: #1A5276;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.guide-section h3 i { color: #2980b9; }
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.guide-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}
.guide-item i { font-size: 1.5rem; color: #1A5276; margin-bottom: 8px; display: block; }
.guide-item strong { display: block; margin-bottom: 5px; color: #333; }
.guide-item span { font-size: 0.85rem; color: #666; }

/* ===== CERTIFICATIONS PAGE ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.cert-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}
.cert-card:hover { border-color: #1A5276; transform: translateY(-5px); }
.cert-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f7ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: #1A5276;
}
.cert-card h4 { color: #1A5276; margin-bottom: 8px; }
.cert-card p { color: #666; font-size: 0.85rem; line-height: 1.5; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .announcement-content { font-size: 0.75rem; gap: 8px; }
    .announcement-timer { display: none; }
    .social-proof-container { left: 10px; right: 10px; bottom: 80px; }
    .social-proof-notification { max-width: 100%; }
    .exit-popup { padding: 25px; }
    .exit-popup h3 { font-size: 1.2rem; }
    .offers-grid { grid-template-columns: 1fr; }
    .doctors-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
}

/* ===== DARK MODE OVERRIDES ===== */
[data-theme="dark"] .announcement-bar { background: linear-gradient(135deg, #922b21, #c0392b); }
[data-theme="dark"] .exit-popup { background: #1e1e1e; }
[data-theme="dark"] .exit-popup h3 { color: #fff; }
[data-theme="dark"] .exit-popup p { color: #ccc; }
[data-theme="dark"] .exit-form input { background: #2d2d2d; border-color: #444; color: #fff; }
[data-theme="dark"] .social-proof-notification { background: #2d2d2d; border-color: #444; }
[data-theme="dark"] .spn-content strong { color: #7ec8e3; }
[data-theme="dark"] .spn-content span { color: #ccc; }
[data-theme="dark"] .offer-card { background: #2d2d2d; }
[data-theme="dark"] .offer-content h3 { color: #7ec8e3; }
[data-theme="dark"] .offer-content p { color: #bbb; }
[data-theme="dark"] .doctor-card { background: #2d2d2d; }
[data-theme="dark"] .doctor-info h3 { color: #7ec8e3; }
[data-theme="dark"] .guide-section { background: #2d2d2d; }
[data-theme="dark"] .guide-section h3 { color: #7ec8e3; }
[data-theme="dark"] .guide-item { background: #1e1e1e; }
[data-theme="dark"] .cert-card { background: #2d2d2d; }
[data-theme="dark"] .cert-card h4 { color: #7ec8e3; }
[data-theme="dark"] .comparison-table td { color: #ddd; }
[data-theme="dark"] .comparison-table tr:nth-child(even) { background: #2d2d2d; }
