:root {
    --brand: #ed1a3b;
    --brand-dark: #c8102e;
    --ink: #1a1a2e;
    --text: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f5f7fa;
    --tint: #fff1f3;
    --gold: #c9a84c;
    --green: #10b981;
    --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px);
       backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(229, 231, 235, .8); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.nav .lang:hover { border-color: var(--brand); }
.btn-login { gap: 8px; padding: 10px 20px 10px 16px; font-size: 15.5px; font-weight: 700; color: #fff !important; background: linear-gradient(180deg, #f2304e, var(--brand-dark));
             box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 18px -8px rgba(200, 16, 46, .7); transition: transform .15s, box-shadow .15s; }
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 22px -8px rgba(200, 16, 46, .75); }
.btn-login:focus-visible { outline: 3px solid rgba(237, 26, 59, .35); outline-offset: 2px; }
.btn-login svg { width: 18px; height: 18px; }
.login-hint { font-size: 15px; color: var(--muted); margin: 6px 0 10px; }
.login-hint a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border-bottom: 2px solid rgba(237, 26, 59, .25); }
.login-hint a:hover { border-bottom-color: var(--brand); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 10px; } .btn-login { padding: 9px 16px 9px 13px; font-size: 15px; } }
.brand span, .btn-login, .nav .lang, .reel-tab b { white-space: nowrap; }
@media (max-width: 480px) { .btn-login .xs-hide { display: none; } .top .wrap { gap: 10px; } }
@media (max-width: 380px) { .brand span { font-size: 18px; } .nav .lang { padding: 5px 10px; } }

/* buttons */
.btn { transition: background .15s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px;
       font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-sm { padding: 6px 16px; font-size: 15px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 56px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero .lead { font-size: 19px; color: var(--text); max-width: 640px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.trust { color: var(--muted); font-size: 15px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; text-align: center; box-shadow: 0 10px 30px rgba(17, 24, 39, .06); }
.hero-card img { width: 120px; height: 120px; }
.hero-card ul { text-align: left; padding: 0; margin: 16px 0 0; list-style: none; }
.hero-card li { padding: 6px 0 6px 28px; position: relative; }
.hero-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* sections */
section { padding: 56px 0; }
section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.icon { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--brand); display: inline-flex;
        align-items: center; justify-content: center; font-size: 18px; flex: none; }
.card p { margin: 0; color: var(--text); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; list-style: none; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
                    background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* pricing */
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price.featured { border-color: var(--gold); box-shadow: 0 8px 24px rgba(201, 168, 76, .18); }
.price .amount { font-size: 34px; font-weight: 700; color: var(--ink); }
.price .per { color: var(--muted); font-size: 15px; }
.price ul { padding-left: 18px; margin: 12px 0 0; font-size: 15px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin: 10px 0 0; }

/* cta + footer */
.cta { background: var(--ink); color: #e5e7eb; text-align: center; }
.cta h2 { color: #fff; }
.cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
footer { padding: 28px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* hero visual + rating */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img { width: min(300px, 80%); border-radius: 28px; box-shadow: 0 24px 60px rgba(17, 24, 39, .18); }
.rating { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line);
          border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--text); text-decoration: none; margin-bottom: 18px; }
.rating b { color: var(--ink); }
.stars { color: #f5a524; letter-spacing: 1px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(24px, 3.4vw, 34px); color: var(--ink); line-height: 1.2; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* screenshots */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto;
           scroll-snap-type: x mandatory; padding: 4px 4px 16px; -webkit-overflow-scrolling: touch; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

/* reviews */
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 14px; font-size: 16px; color: var(--text); flex: 1; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); font-weight: 600; }
.reviews-foot { margin-top: 18px; font-size: 15px; }

/* social */
.social { display: inline-flex; align-items: center; gap: 6px; }
.social svg { width: 18px; height: 18px; }

/* device mockups: browser (web app) + phone (Android app) */
.duo { position: relative; padding: 0 0 9% 0; }
.duo::before { content: ""; position: absolute; inset: 6% -4% 0 8%; border-radius: 50%; z-index: -1;
               background: radial-gradient(closest-side, rgba(237, 26, 59, .16), rgba(237, 26, 59, 0)); filter: blur(10px); }
.browser { background: #fff; border: 1px solid #d5dae1; border-radius: 14px; overflow: hidden;
           box-shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 30px 70px -26px rgba(17, 24, 39, .38), 0 12px 26px -14px rgba(17, 24, 39, .18); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: linear-gradient(#f9fafb, #eef0f3); border-bottom: 1px solid #e3e6ea; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5e7eb; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; transform: translateX(-27px); width: 58%; max-width: 340px; height: 22px; border-radius: 999px; background: #fff; border: 1px solid #e3e6ea;
                    font: 500 11.5px/20px system-ui, sans-serif; color: #4b5563; padding: 0 10px 0 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
                    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2310b981' d='M17 9h-1V7a4 4 0 1 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2zm-7-2a2 2 0 1 1 4 0v2h-4V7z'/%3E%3C/svg%3E") no-repeat 9px 50% / 11px; }
.browser img { display: block; width: 100%; height: auto; }

/* phone: metal rim, punch-hole camera, side keys; sizes scale with the phone width */
.phone { container-type: inline-size; position: relative; border-radius: 15% / 6.9%;
         background: linear-gradient(145deg, #444a57 0%, #16181e 40%, #23262e 70%, #3a3f4b 100%);
         box-shadow: inset 0 0 0 1.5px #646b78, inset 0 0 0 4px #0d0f13, 0 34px 60px -26px rgba(17, 24, 39, .6), 0 14px 26px -16px rgba(17, 24, 39, .35); }
.phone img { display: block; width: calc(100% - 7cqw); height: auto; margin: 3.5cqw; aspect-ratio: 480 / 1069; object-fit: cover; object-position: top;
             border-radius: 11.5cqw; background: #fff; }
.phone::before { content: ""; position: absolute; left: 50%; top: calc(3.5cqw + 2.6cqw); width: 4cqw; height: 4cqw; margin-left: -2cqw; border-radius: 50%;
                 background: radial-gradient(circle at 35% 35%, #2b3448 0 22%, #07080b 40%); box-shadow: 0 0 0 .7cqw rgba(10, 12, 16, .9); z-index: 2; }
.phone::after { content: ""; position: absolute; right: -1.2cqw; top: 24%; width: 1.4cqw; height: 9%; border-radius: 0 3px 3px 0;
                background: linear-gradient(90deg, #1b1e24, #4a505c); box-shadow: 0 -14cqw 0 -.1cqw #2c3038; }
.duo .phone { position: absolute; width: 29%; bottom: 0; right: -3%; }
.duo.left .phone { right: auto; left: -3%; }
.duo-label { display: flex; gap: 16px; justify-content: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.duo-label span::before { content: "●"; color: var(--brand); margin-right: 6px; font-size: 10px; vertical-align: 2px; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.phones .phone { width: min(240px, 46%); }
.phones .phone:nth-child(2) { margin-top: 48px; }

/* feature video reel */
.reel-sec { background: linear-gradient(180deg, #fff, var(--tint) 55%, #fff); }
.reel { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.reel-tabs { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.reel-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; overflow: hidden;
            font: inherit; color: var(--text); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
            transition: background .2s, border-color .2s, box-shadow .2s; }
.reel-tab:hover { border-color: #f4b6c0; background: #fff; }
.reel-tab[aria-selected="true"] { background: #fff; border-color: rgba(237, 26, 59, .45); box-shadow: 0 10px 24px -14px rgba(200, 16, 46, .5); }
.reel-tab .icon { width: 40px; height: 40px; font-size: 19px; }
.reel-tab[aria-selected="true"] .icon { background: var(--brand); color: #fff; }
.reel-tab b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.reel-tab small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.reel-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.reel-player { position: relative; border-radius: 20px; overflow: hidden; background: #fff7f8; aspect-ratio: 16 / 9;
               border: 1px solid #f1d5da; box-shadow: 0 40px 80px -36px rgba(17, 24, 39, .45), 0 16px 32px -20px rgba(200, 16, 46, .25); }
.reel-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-toggle { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
               background: rgba(26, 26, 46, .72); display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel-toggle:hover { background: var(--ink); }
.reel-toggle svg { width: 18px; height: 18px; }
.reel-toggle .i-play { display: none; } .reel.paused .reel-toggle .i-play { display: block; } .reel.paused .reel-toggle .i-pause { display: none; }
.reel-count { position: absolute; left: 14px; bottom: 14px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(26, 26, 46, .72); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 900px) {
    .reel { grid-template-columns: 1fr; gap: 16px; }
    .reel-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; order: 2; -webkit-overflow-scrolling: touch; }
    .reel-tab { flex: none; width: auto; scroll-snap-align: start; padding: 10px 14px 10px 10px; }
    .reel-tab small { display: none; }
    .reel-tab .icon { width: 32px; height: 32px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .reel-tab, .btn-login { transition: none; } }

/* hero with devices */
.hero .wrap.hero-duo { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 860px) { .hero .wrap.hero-duo { grid-template-columns: 1fr; } }

/* showcase rows */
.show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 40px 0; }
.show + .show { border-top: 1px solid var(--line); }
.show.reverse { grid-template-columns: 1.25fr 1fr; }
.show.reverse .show-text { order: 2; }
.show-text .kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand); background: var(--tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.show-text ul { padding: 0; margin: 16px 0 0; list-style: none; }
.show-text li { padding: 6px 0 6px 28px; position: relative; }
.show-text li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
@media (max-width: 860px) {
    .show, .show.reverse { grid-template-columns: 1fr; gap: 24px; }
    .show.reverse .show-text { order: 0; }
}

/* "more" section: real outputs (invoice, receipt, labels, SMS) next to the app */
.scene { display: block; width: 100%; height: auto; }
.with-phone { position: relative; padding-bottom: 6%; }
.with-phone .phone { position: absolute; width: 30%; right: -2%; bottom: 0; }
.with-phone.left .phone { right: auto; left: -2%; }
.pair { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.pair .phone { width: min(230px, 44%); flex: none; }
.pair .scene { width: min(300px, 50%); }
.phones.three .phone { width: min(200px, 31%); }
.phones.three .phone:nth-child(2) { margin-top: 36px; }
.phones.three .phone:nth-child(3) { margin-top: 72px; }
.phones.one .phone { width: min(280px, 70%); }
.show.wide { grid-template-columns: 1fr; gap: 24px; }
.show.wide .show-text { max-width: 720px; }
.note-inline { font-size: 14px; color: var(--muted); margin-top: 10px; }
.with-phone.left .phone { width: 25%; left: -4%; }
