:root {
    --brand: #0d6efd;
    --brand-dark: #0a3d91;
    --ink: #1f2937;
}

html { font-size: 15px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: 'Hind Siliguri', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #f8f9fb;
}

a { text-decoration: none; }

.site-nav .nav-link.active { color: var(--brand); font-weight: 600; }

.hero {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.hero-logo { max-height: 160px; }
.breadcrumb-light .breadcrumb-item a { color: rgba(255, 255, 255, .8); }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.page-header { background: #fff; border-bottom: 1px solid #e5e7eb; }

.cta { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }

.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: #e7f0ff; color: var(--brand); font-size: 1.4rem;
}

/* product cards */
.product-card { transition: transform .15s ease, box-shadow .15s ease; overflow: hidden; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 .6rem 1.2rem rgba(0, 0, 0, .12) !important; }
.product-card-media { display: block; height: 160px; background: #eef2f7; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 3.2rem; color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

/* pricing */
.plan-card { position: relative; border: 1px solid #e5e7eb; border-radius: 1rem; }
.plan-popular { border: 2px solid var(--brand); box-shadow: 0 .6rem 1.4rem rgba(13, 110, 253, .18); }
.plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: .75rem; font-weight: 600;
    padding: .2rem .8rem; border-radius: 999px;
}
.plan-card .price { font-size: 2rem; font-weight: 700; }
.plan-features li { padding: .25rem 0; }
.plan-features i { margin-right: .4rem; }

/* monthly / yearly switch: the nearest [data-billing] ancestor decides which price shows */
[data-billing="monthly"] .price-block.yearly { display: none; }
[data-billing="yearly"] .price-block.monthly.has-yearly { display: none; }

.comparison-table th, .comparison-table td { white-space: nowrap; }

/* testimonials */
.testimonial blockquote { font-size: 1rem; }
.avatar-initial {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; font-weight: 600;
}

.screenshot-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: opacity .15s; }
.screenshot-thumb:hover img { opacity: .85; }

.rich-content img { max-width: 100%; height: auto; }
.rich-content table { width: 100%; }

.site-footer { background: #111827; color: #9ca3af; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .35rem; }

/* manuals */
.manual-sidebar { position: sticky; top: 76px; }
@media (max-width: 991.98px) { .manual-sidebar { position: static; } }
.manual-tree { padding-left: 0; }
.manual-tree .manual-tree { padding-left: 1rem; border-left: 1px solid #e5e7eb; margin-left: .35rem; }
.manual-tree a {
    display: block; padding: .3rem .6rem; border-radius: .4rem;
    color: var(--ink); font-size: .95rem;
}
.manual-tree a:hover { background: #eef2f7; }
.manual-tree a.active { background: #e7f0ff; color: var(--brand); font-weight: 600; }

/* honeypot field for the public forms: invisible to people, tempting to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* floating chat widget (bottom right) */
.chatbot-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 1050; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--brand, #0d6efd); color: #fff; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; }
.chatbot-panel { position: fixed; right: 20px; bottom: 90px; z-index: 1050; width: 340px; max-width: calc(100vw - 32px); height: 460px; max-height: calc(100vh - 120px); background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.28); display: none; flex-direction: column; overflow: hidden; }
.chatbot-panel.open { display: flex; }
.chatbot-head { background: var(--brand, #0d6efd); color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.chatbot-head button { background: none; border: 0; color: #fff; font-size: 1.1rem; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 12px; background: #f5f7fa; }
.chatbot-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; margin-bottom: 8px; font-size: .92rem; line-height: 1.4; }
.chatbot-msg.bot { background: #fff; border: 1px solid #e3e8ef; }
.chatbot-msg.user { background: var(--brand, #0d6efd); color: #fff; margin-left: auto; }
.chatbot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chatbot-chips button { border: 1px solid var(--brand, #0d6efd); background: #fff; color: var(--brand, #0d6efd); border-radius: 16px; padding: 3px 10px; font-size: .82rem; }
.chatbot-form { display: flex; border-top: 1px solid #e3e8ef; }
.chatbot-form input { flex: 1; border: 0; padding: 10px 12px; outline: none; }
.chatbot-form button { border: 0; background: none; color: var(--brand, #0d6efd); padding: 0 14px; font-size: 1.2rem; }

.whatsapp-btn { position: fixed; right: 20px; bottom: 90px; z-index: 1050; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
.whatsapp-btn:hover { color: #fff; filter: brightness(1.08); }
.chatbot-panel { bottom: 160px; }
@media (max-width: 575px) { .chatbot-panel { bottom: 160px; } }
