/* 🎨 Riyo IT Park Theme Custom Stylesheet */

/* ─── Font enforcement: override any Tailwind or browser defaults ──────────
   Ensures Noto Sans Bengali is used wherever inline styles or utility classes
   might have set a different font-family.
────────────────────────────────────────────────────────────────────────── */
.font-sans,
[class*="font-"] {
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif !important;
}
.font-mono {
    font-family: 'JetBrains Mono', monospace !important;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e11d48;
}
.riyo-faq-item.active .lucide-chevron-down {
    transform: rotate(180deg);
}
.riyo-faq-item.active button {
    color: #f43f5e;
}
/* ─── Exit Intent Popup ─────────────────────────────────────────────────── */
#riyo-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#riyo-exit-overlay.show {
    opacity: 1;
    visibility: visible;
}
#riyo-exit-popup {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    max-width: 460px;
    width: 100%;
    position: relative;
    transform: translateY(-20px) scale(0.97);
    transition: transform 0.3s ease;
    text-align: center;
}
#riyo-exit-overlay.show #riyo-exit-popup {
    transform: translateY(0) scale(1);
}
#riyo-exit-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
#riyo-exit-close:hover { color: #f1f5f9; }
.riyo-exit-badge {
    display: inline-block;
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(244, 63, 94, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}
.riyo-exit-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}
.riyo-exit-title span { color: #f43f5e; }
.riyo-exit-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.riyo-exit-price-box {
    background: rgba(244, 63, 94, 0.07);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.riyo-exit-old-price {
    font-size: 1rem;
    color: #64748b;
    text-decoration: line-through;
}
.riyo-exit-new-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #f43f5e;
}
.riyo-exit-new-price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
}
.riyo-exit-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    margin-bottom: 0.75rem;
}
.riyo-exit-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.riyo-exit-dismiss {
    display: block;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    padding: 0.25rem;
    transition: color 0.2s;
}
.riyo-exit-dismiss:hover { color: #94a3b8; }
.riyo-exit-timer {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.riyo-exit-timer-block {
    background: #1e293b;
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
    min-width: 46px;
}
.riyo-exit-timer-block span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f43f5e;
    font-variant-numeric: tabular-nums;
}
.riyo-exit-timer-block small {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
@media (max-width: 480px) {
    #riyo-exit-popup { padding: 1.5rem 1.25rem; }
    .riyo-exit-title { font-size: 1.2rem; }
}

/* ─── "আপনি যা শিখবেন" checklist rows ────────────────────────────────── */
.riyo-learn-row {
    will-change: transform;
}
.riyo-learn-row:hover {
    transform: translateX(4px);
}
