/* ============================================================
   PREMIUM UPGRADES — revert: remove this file + premium-upgrades.js
   ============================================================ */

/* 1. SCROLL PROGRESS BAR */
#zc-progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #0F2E2B, #2ee87a, #17b4a2);
    z-index: 99999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* 2. GLASSMORPHISM NAVBAR */
.header.scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(18px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.8) !important;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08) !important;
    border-bottom: 1px solid rgba(18, 140, 126, 0.12) !important;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;
}

/* 3. PAGE PRELOADER */
#zc-preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#zc-preloader.hide {
    opacity: 0;
    visibility: hidden;
}
#zc-preloader img { height: 48px; }
.zc-preloader-bar {
    width: 160px; height: 3px;
    background: #ececec;
    border-radius: 3px;
    overflow: hidden;
}
.zc-preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F2E2B, #2ee87a);
    border-radius: 3px;
    animation: zcFill 1.2s ease-in-out forwards;
}
@keyframes zcFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* 4. 3D TILT FEATURE CARDS */
.custom-feat-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.custom-feat-card:hover {
    border-image: linear-gradient(135deg, #0F2E2B, #2ee87a, #17b4a2) 1 !important;
    border-color: transparent !important;
}

/* 5. ICON PULSE ON HOVER */
.custom-feat-card:hover .custom-feat-icon { transform: none; }

/* 6. CTA ANIMATED GRADIENT */
.zc-cta-animated {
    background: linear-gradient(270deg, #e8fdf5, #f0f9ff, #f5f3ff, #fff7ed, #e8fdf5) !important;
    background-size: 400% 400% !important;
}

/* 7. CTA BUTTON SHIMMER */
.btn-premium-primary { position: relative; overflow: hidden; }
.btn-premium-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: none;
}
.btn-premium-primary:hover::after {
    animation: zcShimmer 0.65s ease forwards;
}
@keyframes zcShimmer {
    0%   { left: -100%; }
    100% { left: 160%; }
}

/* 8. FLOATING WHATSAPP BUTTON */
#zc-wa-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s ease;
}
#zc-wa-btn:hover { transform: scale(1.12); animation: none; box-shadow: 0 12px 30px rgba(37,211,102,0.55); }
#zc-wa-btn i { font-size: 28px; color: #fff; }

/* 9. COUNTER number styling */
.zc-count { display: inline-block; }

/* 10. TYPING CURSOR */
.zc-typed-cursor {
    display: inline-block;
    width: 3px;
    background: #0F2E2B;
    margin-left: 3px;
    vertical-align: baseline;
    border-radius: 1px;
}

/* 11. TESTIMONIAL QUOTE MARK */
.custom-testi-card { position: relative; overflow: hidden; }
.custom-testi-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; right: 16px;
    font-size: 100px;
    line-height: 1;
    color: rgba(18, 140, 126, 0.08);
    font-family: Georgia, serif;
    pointer-events: none;
}

/* 12. PRICING POPULAR GLOW */
.custom-plan.featured {
    box-shadow: 0 0 0 2px #0F2E2B, 0 20px 50px rgba(18,140,126,0.2) !important;
    transform: scale(1.04) !important;
    position: relative;
    z-index: 2;
}

/* 13. CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f5f5; }
::-webkit-scrollbar-thumb { background: #0F2E2B; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #0F2E2B; }

/* ================================================================
   MOBILE — Complete rewrite. Clean, tight, no fluff.
   ================================================================ */

/* BASE — no horizontal scroll */
html, body { overflow-x: hidden !important; max-width: 100vw !important; }

/* ── TABLET 768–991px ── */
@media (max-width: 991px) {

    /* Navbar dropdown */
    .navbar-collapse {
        background: #fff !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
        padding: 14px !important;
        box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
        border: 1px solid rgba(226,232,240,0.9) !important;
    }

    /* Hero stacks */
    .custom-hero-inner { flex-direction: column !important; text-align: center !important; gap: 24px !important; }
    .custom-hero-btns  { justify-content: center !important; }
    .custom-hero-trust { justify-content: center !important; }
    .custom-hero-float-card { display: none !important; }

    /* Features 2-col */
    .custom-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

    /* Pricing glow smaller on tablet */
    .custom-plan.featured { transform: scale(1.02) !important; }
}

/* ── MOBILE 767px and below ── */
@media (max-width: 767px) {

    /* === GLOBAL SPACING === */
    .container { padding-left: 16px !important; padding-right: 16px !important; }
    .custom-section { padding: 44px 0 !important; }
    .custom-section-center { margin-bottom: 28px !important; }
    .custom-section-h2 { font-size: 1.5rem !important; line-height: 1.35 !important; margin-bottom: 10px !important; }
    .custom-section-tag { font-size: 0.72rem !important; padding: 4px 12px !important; margin-bottom: 10px !important; }
    .custom-section-sub { font-size: 0.88rem !important; line-height: 1.55 !important; }
    * { animation-duration: 0.01ms !important; animation-delay: 0.01ms !important; } /* kill WOW delays */

    /* === HERO === */
    .custom-hero { padding: 72px 0 32px !important; }
    .custom-hero-h1 { font-size: 1.6rem !important; line-height: 1.3 !important; margin-bottom: 12px !important; }
    .custom-hero-desc { font-size: 0.9rem !important; margin-bottom: 20px !important; }
    .custom-hero-badge { font-size: 0.72rem !important; padding: 5px 12px !important; }
    .custom-hero-btns { flex-direction: column !important; gap: 10px !important; }
    .custom-hero-btns .btn { width: 100% !important; text-align: center !important; padding: 12px 20px !important; font-size: 0.92rem !important; }
    .custom-hero-trust { flex-wrap: wrap !important; justify-content: center !important; gap: 8px 12px !important; font-size: 0.78rem !important; }
    .custom-hero-img-wrap { min-height: 0 !important; height: auto !important; overflow: visible !important; display: flex !important; justify-content: center !important; align-items: flex-start !important; padding: 0 !important; }
    .phone-simulator-frame { transform: none !important; width: 240px !important; height: 415px !important; border-radius: 26px !important; border-width: 7px !important; margin: 0 auto !important; font-size: 0.7rem !important; }
    .phone-notch { width: 90px !important; height: 14px !important; }
    .chat-sim-header { padding: 18px 10px 8px !important; }
    .chat-sim-avatar { width: 28px !important; height: 28px !important; font-size: 0.75rem !important; }
    .chat-sim-body { height: calc(100% - 90px) !important; padding: 10px 8px !important; }
    .chat-sim-widget { width: 200px !important; right: -10px !important; bottom: -10px !important; }

    /* === STATS BAR === */
    .custom-stats { padding: 24px 0 !important; }
    .custom-stats-inner { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; text-align: center !important; }
    .custom-stat-item { padding: 12px 8px !important; border-right: 1px solid rgba(226,232,240,0.7) !important; }
    .custom-stat-item:last-child { border-right: none !important; }
    .custom-stat-num { font-size: 1.35rem !important; font-weight: 800 !important; }
    .custom-stat-label { font-size: 0.68rem !important; line-height: 1.3 !important; }

    /* === FEATURES GRID — 2 columns, tight === */
    .custom-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .custom-feat-card { padding: 16px 12px !important; border-radius: 12px !important; height: auto !important; }
    .custom-feat-icon { width: 38px !important; height: 38px !important; font-size: 1rem !important; margin-bottom: 10px !important; border-radius: 10px !important; }
    .custom-feat-title { font-size: 0.82rem !important; margin-bottom: 6px !important; font-weight: 700 !important; }
    .custom-feat-desc { font-size: 0.75rem !important; line-height: 1.45 !important; }
    /* 9th card spanning both cols — centered */
    .custom-features-grid .custom-feat-card:last-child:nth-child(odd) { grid-column: 1 / -1 !important; max-width: 50% !important; margin: 0 auto !important; }

    /* === HOW IT WORKS — single col === */
    .custom-section .row.gy-4 [class*="col-lg-4"],
    .custom-section .row.gy-4 [class*="col-lg-3"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }

    /* === CHATBOT BUILDER === */
    .flow-builder-canvas { min-height: auto !important; padding: 20px 14px !important; gap: 12px !important; flex-direction: column !important; }
    .flow-node { width: 100% !important; max-width: 100% !important; position: relative !important; transform: none !important; margin: 0 !important; padding: 12px !important; }
    .flow-builder-canvas svg,
    .flow-node > div[style*="right: -8px"],
    .flow-node > div[style*="left: -8px"] { display: none !important; }
    .flow-node:not(:last-child)::after { content: '↓'; display: block; text-align: center; color: #0F2E2B; font-size: 1.1rem; margin-top: 10px; font-weight: 700; }

    /* === MOBILE APP SECTION === */
    .custom-section .row.align-items-center { flex-direction: column-reverse !important; }
    .custom-section .row.align-items-center [class*="col-lg"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
    .custom-section .row.align-items-center img.img-fluid { max-height: 220px !important; width: auto !important; margin: 0 auto 20px !important; display: block !important; }
    .download-wrapper { text-align: center !important; }
    .download-wrapper .d-flex { justify-content: center !important; flex-wrap: wrap !important; gap: 10px !important; }
    .download-wrapper img { height: 36px !important; }
    .custom-plan-features[style] { margin-bottom: 20px !important; }

    /* === INTEGRATIONS — 2 per row === */
    .row.g-4 > [class*="col-lg-3"],
    .row.g-4 > [class*="col-md-6"] { flex: 0 0 50% !important; max-width: 50% !important; }
    .custom-feat-card[style*="padding: 40px"] { padding: 20px 12px !important; }

    /* === COMPARISON — simple scroll === */
    .comparison-section { display: block !important; }
    .comparison-section .table-responsive { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; border-radius: 12px !important; }
    .comparison-section table { min-width: 460px !important; }
    .comparison-section table th,
    .comparison-section table td { padding: 12px 10px !important; font-size: 0.78rem !important; white-space: normal !important; }
    .comparison-section table th:first-child,
    .comparison-section table td:first-child { min-width: 120px !important; }

    /* === PRICING — stack === */
    .custom-plan { padding: 24px 18px !important; margin-bottom: 16px !important; }
    .custom-plan.featured { transform: none !important; box-shadow: 0 0 0 2px #0F2E2B, 0 10px 25px rgba(18,140,126,0.15) !important; }
    .custom-plan-price { font-size: 2rem !important; }
    .custom-plan-name { font-size: 1rem !important; }

    /* === ROI CALCULATOR === */
    .col-lg-6 > div[style*="padding: 40px"] { padding: 20px 16px !important; border-radius: 14px !important; }
    #hours-saved, #money-saved { font-size: 1.6rem !important; }

    /* === TESTIMONIALS === */
    .custom-testi-card { padding: 20px 16px !important; }
    .custom-testi-quote { font-size: 0.88rem !important; line-height: 1.55 !important; }
    .custom-testi-name { font-size: 0.9rem !important; }
    .custom-testi-role { font-size: 0.78rem !important; }

    /* === FAQ === */
    #pills-tab { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; padding: 5px !important; border-radius: 30px !important; }
    #pills-tab .nav-link { padding: 6px 14px !important; font-size: 0.8rem !important; flex: 1 !important; text-align: center !important; }
    .accordion-button { font-size: 0.86rem !important; padding: 13px 14px !important; }
    .accordion-body { font-size: 0.84rem !important; padding: 10px 14px !important; }
    .accordion-item { margin-bottom: 10px !important; }

    /* === CTA === */
    .wow.animationfadeUp > div[style*="border-radius"] { padding: 40px 20px !important; border-radius: 18px !important; margin: 0 !important; }
    .wow.animationfadeUp .custom-section-h2 { font-size: 1.45rem !important; }

    /* === FOOTER === */
    .custom-footer { padding-top: 44px !important; }
    .custom-footer .row { gap: 0 !important; }
    .custom-footer .row > [class*="col"] { margin-bottom: 28px !important; }
    .custom-footer-title { font-size: 1rem !important; margin-bottom: 16px !important; }
    .custom-footer-links li { margin-bottom: 8px !important; }
    .custom-footer-links a { font-size: 0.88rem !important; }
    .custom-footer-contact li { gap: 8px !important; margin-bottom: 10px !important; font-size: 0.88rem !important; }
    .custom-footer-desc { font-size: 0.88rem !important; margin-bottom: 16px !important; }
    .custom-footer-subscribe form { flex-direction: column !important; gap: 8px !important; }
    .custom-footer-subscribe .btn { width: 100% !important; padding: 10px !important; }
    .custom-footer-subscribe .form--control { padding: 10px 16px !important; font-size: 0.88rem !important; }
    .custom-footer-bottom { flex-direction: column !important; text-align: center !important; gap: 12px !important; padding: 20px 0 !important; margin-top: 28px !important; }
    .custom-footer-socials { gap: 10px !important; }
    .custom-footer-socials a { width: 36px !important; height: 36px !important; font-size: 0.95rem !important; }
    .bottom-footer-text { font-size: 0.8rem !important; }

    /* === WA BUTTON + SCROLL TOP === */
    #zc-wa-btn { bottom: 16px !important; right: 14px !important; width: 48px !important; height: 48px !important; }
    #zc-wa-btn i { font-size: 22px !important; }
    .scroll-top { bottom: 74px !important; right: 14px !important; width: 36px !important; height: 36px !important; }

    /* === REGISTER / LOGIN === */
    .zreg-section { min-height: auto !important; padding: 20px 0 !important; }
    .zreg-form-box { padding: 28px 18px !important; border-radius: 18px !important; margin: 0 12px !important; }
    .zreg-title { font-size: 1.35rem !important; }
    .zreg-subtitle { font-size: 0.85rem !important; }
    .zreg-row { grid-template-columns: 1fr !important; gap: 12px !important; }
    .zreg-input { padding: 11px 12px 11px 38px !important; font-size: 0.88rem !important; }
    .zreg-btn { padding: 13px !important; font-size: 0.9rem !important; }
    .zreg-remember-row { flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }
    .zreg-icon-wrap { width: 48px !important; height: 48px !important; font-size: 1.2rem !important; }
    .zreg-header { margin-bottom: 20px !important; }

    /* === DISABLE 3D tilt on touch === */
    .custom-feat-card { transform: none !important; }
    .custom-feat-card:hover { transform: translateY(-4px) !important; }
}

/* ── VERY SMALL PHONES 400px ── */
@media (max-width: 400px) {
    .custom-section-h2 { font-size: 1.3rem !important; }
    .custom-hero-h1 { font-size: 1.38rem !important; }
    .phone-simulator-frame { width: 210px !important; height: 365px !important; border-radius: 22px !important; border-width: 6px !important; }
    .chat-sim-body { height: calc(100% - 80px) !important; }
    .custom-stats-inner { grid-template-columns: repeat(3, 1fr) !important; }
    .custom-stat-num { font-size: 1.15rem !important; }
    .custom-stat-label { font-size: 0.62rem !important; }
    .custom-features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    .custom-feat-card { padding: 14px 10px !important; }
    .custom-feat-title { font-size: 0.78rem !important; }
    .custom-feat-desc { font-size: 0.72rem !important; }
    .row.g-4 > [class*="col-lg-3"] { flex: 0 0 50% !important; max-width: 50% !important; }
}

/* ── PHONE FRAME OVERRIDE — remove all transform-based scaling ── */
@media (max-width: 991px) {
    .phone-simulator-frame { transform: none !important; }
    .custom-hero-img-wrap { overflow: visible !important; }
}

/* ================================================================
   iOS DYNAMIC ICONS + DYNAMIC ISLAND
   ================================================================ */

/* ── DYNAMIC ISLAND ── */
.zc-dynamic-island {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1c;
    color: #f3f5f5;
    border-radius: 50px;
    padding: 8px 18px 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(15,23,42,0.28), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.zc-dynamic-island::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(18,140,126,0.12) 50%, transparent 100%);
    border-radius: inherit;
}
.zc-di-dot {
    width: 8px; height: 8px;
    background: #25d366;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.25);
}
.zc-di-text { color: rgba(241,245,249,0.9); letter-spacing: 0.2px; }
.zc-di-text strong { color: #2ee87a; font-weight: 700; }
.zc-di-live {
    display: flex; align-items: center; gap: 5px;
    background: rgba(239,68,68,0.2);
    color: #fca5a5;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    flex-shrink: 0;
}
.zc-di-live span {
    width: 5px; height: 5px;
    background: #d92d20;
    border-radius: 50%;
}

/* ── iOS APP ICON STYLE — Feature Cards ── */
.custom-feat-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    font-size: 26px !important;
    margin-bottom: 20px !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease !important;
}
/* iOS inner highlight — white gloss at top */
.custom-feat-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 100%);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
    z-index: 1;
}
.custom-feat-icon i { position: relative; z-index: 2; }

/* iOS gradient per color — deeper, more vivid */
.custom-feat-icon.blue { background: #eaf1fe; color: #2563eb; box-shadow: none; }
.custom-feat-icon.rose { background: #fdecec; color: #d92d20; box-shadow: none; }
.custom-feat-icon.indigo { background: #e6f0ef; color: #0a474c; box-shadow: none; }
.custom-feat-icon.emerald { background: #e9f6ef; color: #17a06a; box-shadow: none; }
.custom-feat-icon.amber { background: #fdf0e7; color: #b7601c; box-shadow: none; }
.custom-feat-icon.violet { background: #f1ecfd; color: #7c3aed; box-shadow: none; }

/* iOS Wiggle on card hover */
.custom-feat-card:hover .custom-feat-icon { transform: none; }
@keyframes zcIosWiggle {
    0%   { transform: scale(1)    rotate(0deg);    }
    15%  { transform: scale(1.1)  rotate(-6deg);   }
    30%  { transform: scale(1.1)  rotate(5deg);    }
    45%  { transform: scale(1.08) rotate(-4deg);   }
    60%  { transform: scale(1.08) rotate(3deg);    }
    75%  { transform: scale(1.06) rotate(-2deg);   }
    100% { transform: scale(1.08) rotate(0deg);    }
}

/* ── DYNAMIC ISLAND MOBILE ── */
@media (max-width: 767px) {
    .zc-dynamic-island { font-size: 0.72rem !important; padding: 6px 12px 6px 10px !important; gap: 7px !important; }
    .zc-di-live { display: none !important; }
    .custom-feat-icon { width: 48px !important; height: 48px !important; border-radius: 14px !important; font-size: 20px !important; margin-bottom: 12px !important; }
}

/* ── INTEGRATION CARDS — iOS App Icon Style ── */
.zc-intg-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 36px 22px !important;
}
.zc-intg-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}
/* iOS inner gloss highlight */
.zc-intg-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}
.zc-intg-icon i { position: relative; z-index: 1; }

/* Wiggle on card hover */
.zc-intg-card:hover .zc-intg-icon {
    animation: zcIosWiggle 0.55s cubic-bezier(0.36,0.07,0.19,0.97) both;
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 767px) {
    .zc-intg-icon { width: 56px !important; height: 56px !important; border-radius: 16px !important; font-size: 22px !important; margin-bottom: 14px !important; }
    .zc-intg-card { padding: 24px 16px !important; }
}

/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
#zc-announce-bar {
    background: linear-gradient(90deg, #0a474c 0%, #0F2E2B 50%, #0a474c 100%);
    background-size: 200% 100%;
    color: #ffffff !important;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 10001;
}
.zc-announce-inner { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; color:#ffffff !important; }
#zc-announce-bar * { color:#ffffff !important; }
.zc-announce-dot { width:7px; height:7px; background:#2ee87a; border-radius:50%; flex-shrink:0; }
.zc-announce-text { font-weight:500; font-size:0.83rem; color:#ffffff !important; }
.zc-announce-cta { background:rgba(255,255,255,0.18); border:1px solid rgba(255,255,255,0.35); color:#fff; padding:4px 14px; border-radius:20px; font-weight:700; font-size:0.8rem; text-decoration:none; white-space:nowrap; transition:background .2s; }
.zc-announce-cta:hover { background:rgba(255,255,255,0.3); color:#fff; }
.zc-announce-close { position:absolute; right:14px; top:50%; transform:translateY(-50%); background:none; border:none; color:rgba(255,255,255,0.7); font-size:1.2rem; cursor:pointer; line-height:1; padding:0; }
.zc-announce-close:hover { color:#fff; }

/* ================================================================
   BOOK FREE DEMO POPUP
   ================================================================ */
#zc-demo-overlay {
    position:fixed; inset:0;
    background:rgba(15,23,42,0.65);
    backdrop-filter:blur(6px);
    z-index:99999;
    display:flex; align-items:center; justify-content:center;
    padding:16px;
    animation:zcFadeIn .25s ease;
}
@keyframes zcFadeIn { from{opacity:0} to{opacity:1} }
#zc-demo-modal {
    background:#fff;
    border-radius:24px;
    padding:44px 40px 36px;
    max-width:480px;
    width:100%;
    position:relative;
    box-shadow:0 30px 80px rgba(15,23,42,0.25);
    animation:zcSlideUp .3s cubic-bezier(0.34,1.56,0.64,1);
    text-align:center;
}
@keyframes zcSlideUp { from{transform:translateY(30px);opacity:0} to{transform:translateY(0);opacity:1} }
#zc-demo-close { position:absolute; top:14px; right:18px; background:none; border:none; font-size:1.4rem; color:#8a938f; cursor:pointer; line-height:1; }
#zc-demo-close:hover { color:#1c1c1c; }
.zc-demo-icon { width:64px; height:64px; background:linear-gradient(135deg,#0F2E2B,#2ee87a); border-radius:18px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:28px; color:#fff; }
.zc-demo-title { font-size:1.55rem; font-weight:800; color:#1c1c1c; margin-bottom:8px; }
.zc-demo-sub { font-size:0.9rem; color:#6d7a76; margin-bottom:24px; line-height:1.55; }
.zc-demo-form { display:flex; flex-direction:column; gap:12px; margin-bottom:14px; }
.zc-demo-input { width:100%; padding:13px 16px; border:1.5px solid #ececec; border-radius:12px; font-size:0.9rem; color:#1c1c1c; background:#f7faf9; outline:none; transition:border-color .2s; }
.zc-demo-input:focus { border-color:#0F2E2B; background:#fff; }
.zc-demo-btn { width:100%; padding:14px; background:linear-gradient(135deg,#0F2E2B,#0F2E2B); color:#fff; border:none; border-radius:12px; font-size:0.95rem; font-weight:700; cursor:pointer; transition:all .2s; }
.zc-demo-btn:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(18,140,126,0.35); }
.zc-demo-note { font-size:0.78rem; color:#8a938f; }
.zc-demo-note i { color:#0F2E2B; margin-right:4px; }
.zc-demo-success { text-align:center; padding:20px 0; }
.zc-demo-success i { font-size:3rem; color:#0F2E2B; margin-bottom:12px; }
.zc-demo-success h4 { font-size:1.25rem; font-weight:800; color:#1c1c1c; margin-bottom:8px; }
.zc-demo-success p { color:#6d7a76; font-size:0.9rem; }

/* ================================================================
   SOCIAL PROOF TOAST
   ================================================================ */
#zc-toast {
    position:fixed; bottom:20px; left:20px;
    background:#fff;
    border-radius:16px;
    padding:12px 16px;
    display:flex; align-items:center; gap:12px;
    box-shadow:0 8px 32px rgba(15,23,42,0.14), 0 1px 4px rgba(15,23,42,0.06);
    border:1px solid rgba(226,232,240,0.8);
    z-index:9998;
    max-width:300px;
    animation:zcToastIn .4s cubic-bezier(0.34,1.56,0.64,1);
    transition:opacity .3s ease;
}
#zc-toast.hide { opacity:0; }
@keyframes zcToastIn { from{transform:translateX(-120%);opacity:0} to{transform:translateX(0);opacity:1} }
.zc-toast-avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,#0F2E2B,#2ee87a); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:0.9rem; flex-shrink:0; }
.zc-toast-body { flex:1; min-width:0; }
.zc-toast-name { font-size:0.82rem; font-weight:700; color:#1c1c1c; }
.zc-toast-msg { font-size:0.75rem; color:#6d7a76; }
.zc-toast-wa { color:#25d366; font-size:1.1rem; flex-shrink:0; }

/* ================================================================
   TRUST BADGES BAR
   ================================================================ */
.zc-trust-bar {
    border-top:1px solid rgba(226,232,240,0.6);
    border-bottom:1px solid rgba(226,232,240,0.6);
    background:rgba(248,250,252,0.9);
    padding:16px 0;
}
.zc-trust-inner { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0; }
.zc-trust-item { display:flex; align-items:center; gap:8px; padding:8px 20px; font-size:0.82rem; font-weight:600; color:#374151; }
.zc-trust-icon { font-size:1.15rem; line-height:1; }
.zc-trust-divider { width:1px; height:24px; background:rgba(226,232,240,0.9); }

/* ================================================================
   LOGO TICKER
   ================================================================ */
.zc-ticker-wrap { padding:28px 0 20px; overflow:hidden; }
.zc-ticker-label { text-align:center; font-size:0.75rem; font-weight:600; letter-spacing:.6px; text-transform:uppercase; color:#8a938f; margin-bottom:18px; }
.zc-ticker-track { overflow:hidden; mask-image:linear-gradient(90deg,transparent,black 10%,black 90%,transparent); }
.zc-ticker-inner { display:flex; align-items:center; gap:0; white-space:nowrap; width:max-content; }
.zc-ticker-inner:hover { animation-play-state:paused; }
.zc-ticker-item { display:inline-flex; align-items:center; gap:9px; padding:0 28px; font-size:0.88rem; font-weight:700; color:#6d7a76; border-right:1px solid rgba(226,232,240,0.7); }
.zc-ticker-item:last-child { border-right:none; }

/* ================================================================
   VIDEO DEMO SECTION
   ================================================================ */
.zc-video-wrap { max-width:860px; margin:0 auto; }
.zc-video-frame { position:relative; border-radius:20px; overflow:hidden; aspect-ratio:16/9; background:#1c1c1c; cursor:pointer; box-shadow:0 24px 60px rgba(15,23,42,0.2); }
.zc-video-thumb-img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.zc-video-frame:hover .zc-video-thumb-img { transform:scale(1.03); }
.zc-video-overlay { position:absolute; inset:0; background:rgba(15,23,42,0.35); }
.zc-play-btn { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:76px; height:76px; background:linear-gradient(135deg,#0F2E2B,#2ee87a); border:none; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 8px 30px rgba(18,140,126,0.5); transition:transform .25s cubic-bezier(0.34,1.56,0.64,1); }
.zc-play-btn:hover { transform:translate(-50%,-50%) scale(1.15); }
.zc-play-btn i { color:#fff; font-size:26px; margin-left:4px; }
.zc-video-badge { position:absolute; bottom:16px; right:16px; background:rgba(15,23,42,0.75); color:#fff; padding:5px 12px; border-radius:20px; font-size:0.75rem; font-weight:600; display:flex; align-items:center; gap:6px; }
.zc-video-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:24px; }
.zc-vstat { text-align:center; background:#fff; border:1px solid rgba(226,232,240,0.8); border-radius:14px; padding:18px 12px; }
.zc-vstat strong { display:block; font-size:1.8rem; font-weight:800; color:#0F2E2B; line-height:1.1; margin-bottom:4px; }
.zc-vstat span { font-size:0.8rem; color:#6d7a76; font-weight:500; }

/* ================================================================
   MOBILE ADJUSTMENTS — new sections
   ================================================================ */
@media (max-width:767px) {
    #zc-announce-bar { font-size:0.75rem; padding:8px 40px 8px 12px; }
    .zc-announce-text { font-size:0.75rem; }
    .zc-trust-inner { gap:0; }
    .zc-trust-item { padding:6px 12px; font-size:0.75rem; }
    .zc-trust-divider { display:none; }
    #zc-demo-modal { padding:32px 20px 28px; }
    .zc-demo-title { font-size:1.25rem; }
    #zc-toast { max-width:260px; bottom:14px; left:10px; padding:10px 12px; }
    .zc-video-stats { grid-template-columns:1fr; gap:10px; }
    .zc-vstat strong { font-size:1.4rem; }
    .zc-ticker-item { padding:0 18px; font-size:0.82rem; }
}

/* Book Demo nav button */
.zc-demo-nav-btn {
    background: transparent !important;
    border: 1.5px solid #0F2E2B !important;
    color: #0F2E2B !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all .2s !important;
}
.zc-demo-nav-btn:hover {
    background: #0F2E2B !important;
    color: #fff !important;
}

/* Start Free button — white text on green bg, clearly visible */
.header .btn--base,
.header a.btn--base {
    background: linear-gradient(135deg, #0F2E2B, #0F2E2B) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 9px 18px !important;
}
.header .btn--base:hover,
.header a.btn--base:hover {
    background: linear-gradient(135deg, #0F2E2B, #073d38) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(18,140,126,0.35) !important;
}

/* Logo ticker — slow on desktop, even slower on mobile */
@media (max-width: 767px) {
    .zc-ticker-inner {
        animation-duration: 55s !important;
    }
}
@media (min-width: 768px) {
    .zc-ticker-inner {
        animation-duration: 32s !important;
    }
}  /* <- ye brace missing tha: is @media ke band na hone se neeche ki SAARI css sirf >=768px par lag rahi thi (mobile menu toggle bhi) */

/* ── MOBILE MENU TOGGLE — Dynamic iOS style ── */
@media (max-width: 991px) {
    .navbar-toggler.header-button {
        width: 42px !important;
        height: 42px !important;
        background: linear-gradient(135deg, #0F2E2B, #0F2E2B) !important;
        border-radius: 12px !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        box-shadow: 0 4px 14px rgba(18,140,126,0.4) !important;
        transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    /* Gloss shine overlay */
    .navbar-toggler.header-button::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 50%;
        background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 100%);
        border-radius: 12px 12px 0 0;
        pointer-events: none;
    }
    .navbar-toggler.header-button i {
        color: #ffffff !important;
        font-size: 1.35rem !important;
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease !important;
    }
    /* Pulse ring on tap */
    .navbar-toggler.header-button:active {
        transform: scale(0.92) !important;
        box-shadow: 0 2px 8px rgba(18,140,126,0.3) !important;
    }
    /* Expanded state — X icon, different bg */
    .navbar-toggler.header-button[aria-expanded="true"] {
        background: linear-gradient(135deg, #0F2E2B, #073d38) !important;
        box-shadow: 0 4px 18px rgba(18,140,126,0.5) !important;
        animation: zcMenuPulse 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
    }
    .navbar-toggler.header-button[aria-expanded="true"] i {
        transform: rotate(90deg) !important;
    }
    @keyframes zcMenuPulse {
        0%  { transform: scale(0.85); }
        60% { transform: scale(1.08); }
        100%{ transform: scale(1); }
    }
}

/* ===== Refer & Earn Nav Link ===== */
.zc-refer-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #0F2E2B !important;
    font-weight: 700 !important;
    position: relative;
}
.zc-refer-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #0F2E2B; display: inline-block; flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(18,140,126,0.5);
}
.zc-refer-nav-link:hover { color: #0F2E2B !important; }

/* ============================================================
   ZUPICHAT PREMIUM SUITE — shared polish for all module pages
   (glossy solid-white cards, visible lining, dynamic buttons,
    clean fields). Loaded via premium-upgrades.css (?v=time()).
   ============================================================ */

/* ---- SURFACES: glossy solid white cards + visible lining + soft shadow ---- */
.cdp-panel,.cdp-kpi,.cdp-seg,
.bc-panel,.bc-kpi,
.sv-panel,.sv-kpi,.sv-card,
.jb-panel,.jb-kpi,.jb-card,
.ti-panel,.ti-kpi,.ti-canned,
.wl-panel,.wl-kpi,
.oc-panel,.oc-kpi,
.pm-panel,.pm-kpi,.pm-card,.pm-prod{
    position:relative;
    background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%) !important;
    border:1.5px solid #d7e2ec !important;
    border-radius:16px !important;
    box-shadow:0 1px 3px rgba(16,24,40,.06), 0 16px 34px rgba(16,24,40,.09), inset 0 1px 0 rgba(255,255,255,.95) !important;
    -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
    transition:transform .22s cubic-bezier(.4,0,.2,1),box-shadow .22s cubic-bezier(.4,0,.2,1),border-color .22s !important;
}

/* ---- TILES: hover lift (clickable / stat tiles) ---- */
.cdp-kpi:hover,.bc-kpi:hover,.sv-kpi:hover,.jb-kpi:hover,.ti-kpi:hover,.wl-kpi:hover,.oc-kpi:hover,.pm-kpi:hover,
.cdp-seg:hover,.jb-card:hover,.sv-card:hover,.pm-card:hover,.pm-prod:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 10px 24px rgba(16,24,40,.1), 0 30px 60px rgba(16,24,40,.13), inset 0 1px 0 rgba(255,255,255,.95) !important;
    border-color:#c4d3e0 !important;
}

/* ---- BUTTONS: dynamic hover + active press ---- */
.cdp-btn,.bc-btn,.sv-btn,.jb-btn,.ti-btn,.wl-btn,.oc-btn,.pm-btn{
    transition:transform .18s cubic-bezier(.4,0,.2,1),box-shadow .18s,filter .18s !important;
}
.cdp-btn:hover,.bc-btn:hover,.sv-btn:hover,.jb-btn:hover,.ti-btn:hover,.wl-btn:hover,.oc-btn:hover,.pm-btn:hover{
    transform:translateY(-2px) !important;filter:saturate(1.08) brightness(1.03);
}
.cdp-btn:active,.bc-btn:active,.sv-btn:active,.jb-btn:active,.ti-btn:active,.wl-btn:active,.oc-btn:active,.pm-btn:active{
    transform:translateY(0) scale(.97) !important;
}
.cdp-back:hover,.bc-back:hover,.sv-back:hover,.jb-back:hover,.ti-back:hover,.wl-back:hover,.oc-back:hover,.pm-back:hover{
    transform:translateY(-1px);
}

/* ---- INPUTS / SELECTS / TEXTAREAS: clean defined fields ---- */
.jb-input,.jb-select,.jb-ta,.oc-input,
.pm-input,.pm-select,.pm-ta,.pm-field,
.sv-input,.sv-select,.sv-ta,
.ti-input,.ti-ta,
.wl-input,.wl-select,.wl-ta{
    border:1.5px solid #cfdae6 !important;
    background:#f7fafd !important;
    border-radius:11px !important;
    transition:border-color .16s,box-shadow .16s,background .16s !important;
}
.jb-input:hover,.jb-select:hover,.jb-ta:hover,.oc-input:hover,.pm-input:hover,.pm-select:hover,.pm-ta:hover,
.sv-input:hover,.sv-select:hover,.sv-ta:hover,.ti-input:hover,.ti-ta:hover,.wl-input:hover,.wl-select:hover,.wl-ta:hover{
    border-color:#aebfd0 !important;
}
.jb-input:focus,.jb-select:focus,.jb-ta:focus,.oc-input:focus,.pm-input:focus,.pm-select:focus,.pm-ta:focus,
.sv-input:focus,.sv-select:focus,.sv-ta:focus,.ti-input:focus,.ti-ta:focus,.wl-input:focus,.wl-select:focus,.wl-ta:focus{
    background:#ffffff !important;border-color:#7cc6da !important;
    box-shadow:0 0 0 3.5px rgba(34,211,238,.16) !important;
}

/* ---- TABLES inside premium cards: crisp rows ---- */
.cdp-tbl,.bc-tbl,.sv-tbl,.pm-tbl{border-collapse:collapse;}

/* ---- subtle entrance for module tiles on load ---- */
@keyframes zcSuiteUp{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
.cdp-kpi,.bc-kpi,.sv-kpi,.jb-kpi,.ti-kpi,.wl-kpi,.oc-kpi,.pm-kpi{animation:zcSuiteUp .5s cubic-bezier(.4,0,.2,1) both;}

/* ===== PREMIUM SUITE — existing 13 modules (forms, email, store, tables,
   connectors, ai-bot, analytics, payments, invoices, affiliates, pages, events) ===== */

/* SURFACES → glossy solid white + visible lining + soft shadow */
.fb-panel,.fb-card,.an-panel,.em-panel,.em-card,.kb-panel,.pg-panel,
.iv-panel,.ev-panel,.tb-panel,.cn-panel,.zc-card,.zc-stat,.an-kpi,.fb-stat{
    position:relative;
    background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%) !important;
    border:1.5px solid #d7e2ec !important;
    border-radius:16px !important;
    box-shadow:0 1px 3px rgba(16,24,40,.06), 0 16px 34px rgba(16,24,40,.09), inset 0 1px 0 rgba(255,255,255,.95) !important;
    -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
    transition:transform .22s cubic-bezier(.4,0,.2,1),box-shadow .22s cubic-bezier(.4,0,.2,1),border-color .22s !important;
}
/* TILES → hover lift (stat tiles only — safe, premium-scoped) */
.zc-stat:hover,.an-kpi:hover,.fb-stat:hover,.fb-card:hover,.em-card:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 10px 24px rgba(16,24,40,.1), 0 30px 60px rgba(16,24,40,.13), inset 0 1px 0 rgba(255,255,255,.95) !important;
    border-color:#c4d3e0 !important;
}
/* BUTTONS → dynamic */
.fb-btn,.kb-btn{transition:transform .18s cubic-bezier(.4,0,.2,1),box-shadow .18s,filter .18s !important;}
.fb-btn:hover,.kb-btn:hover{transform:translateY(-2px) !important;filter:saturate(1.08) brightness(1.03);}
.fb-btn:active,.kb-btn:active{transform:translateY(0) scale(.97) !important;}
/* entrance for stat tiles */
.zc-stat,.an-kpi,.fb-stat{animation:zcSuiteUp .5s cubic-bezier(.4,0,.2,1) both;}

/* ===== PREMIUM SUITE — corrective full class names (zc-prefixed modules) ===== */
.zc-fb-card,.zc-fb-stat,.zc-em-card,.zc-prod,.fb-card,
.zc-em-head,.zc-fb-head{
    position:relative;
    background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%) !important;
    border:1.5px solid #d7e2ec !important;
    border-radius:16px !important;
    box-shadow:0 1px 3px rgba(16,24,40,.06), 0 16px 34px rgba(16,24,40,.09), inset 0 1px 0 rgba(255,255,255,.95) !important;
    -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
    transition:transform .22s cubic-bezier(.4,0,.2,1),box-shadow .22s cubic-bezier(.4,0,.2,1),border-color .22s !important;
}
.zc-fb-stat:hover,.zc-fb-card:hover,.zc-em-card:hover,.zc-prod:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 10px 24px rgba(16,24,40,.1), 0 30px 60px rgba(16,24,40,.13), inset 0 1px 0 rgba(255,255,255,.95) !important;
    border-color:#c4d3e0 !important;
}
.zc-fb-stat,.zc-em-card{animation:zcSuiteUp .5s cubic-bezier(.4,0,.2,1) both;}
.zc-fb-btn,.zc-gbtn,.zc-btn-primary,.fb-iconbtn{transition:transform .18s cubic-bezier(.4,0,.2,1),box-shadow .18s,filter .18s !important;}
.zc-fb-btn:hover,.zc-gbtn:hover,.zc-btn-primary:hover,.fb-iconbtn:hover{transform:translateY(-2px) !important;filter:saturate(1.08) brightness(1.03);}
.zc-fb-btn:active,.zc-gbtn:active,.zc-btn-primary:active,.fb-iconbtn:active{transform:translateY(0) scale(.97) !important;}

/* ============================================================
   SELECT2 DROPDOWN READABILITY FIX (2026-07-04)
   Some pages (e.g. /user/user-data country picker) rendered the
   select2 dropdown with a dark-green bg + dark text = invisible
   options. Force a clean white dropdown + readable dark text
   everywhere. Loads last so it wins.
   ============================================================ */
.select2-container--default .select2-dropdown,
.select2-container--open .select2-dropdown,
.select2-dropdown{ background:#ffffff !important; border:1.5px solid #d4e7e8 !important; }
.select2-container--default .select2-results__options{ background:#ffffff !important; }
.select2-container--default .select2-results__option{ color:#1f2937 !important; background:#ffffff !important; }
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true]{ background:#e9f2f2 !important; color:#083c40 !important; }
.select2-container--default .select2-search--dropdown .select2-search__field{ background:#ffffff !important; color:#1f2937 !important; }
.select2-container--default .select2-selection__rendered{ color:#1f2937 !important; }
.select2-container--default .select2-selection--single{ background:#ffffff !important; }


/* 3-dots action dropdown: lift above topbar; JS sets position:fixed so no overflow clips it (2026-07-07) */
.action-dropdown { z-index: 12000 !important; }
.action-dropdown.show { z-index: 12000 !important; }

/* 3-dots dropdown: un-clip from scrollable table/card when open (viewport is wide, so it shows fine) */
.zc-content .dashboard-table:has(.action-dropdown.show),
.dashboard-table:has(.action-dropdown.show),
.dashboard .table-responsive:has(.action-dropdown.show),
.table-responsive:has(.action-dropdown.show),
.dashboard-container__body:has(.action-dropdown.show),
.dashboard-container:has(.action-dropdown.show) { overflow: visible !important; }

/* ── No branded preloader on app pages (2026-08-17) ──
   Dashboard/Inbox/etc. are internal navigation — the ZupiChat logo splash
   flashing on every load felt heavy. Kept on marketing pages (no .dashboard). */
body.dashboard #zc-preloader,
body.dashboard .preloader { display: none !important; }
