
:root{
    --primary:#3157e8;
    --primary-dark:#1f3fb7;
    --secondary:#6f7bf7;
    --accent:#14b8a6;
    --warning:#f59e0b;
    --danger:#ef4444;
    --ink:#15213a;
    --muted:#69758d;
    --line:#e8edf5;
    --soft:#f6f8fc;
    --white:#ffffff;
    --shadow:0 18px 55px rgba(27,52,101,.10);
    --shadow-sm:0 8px 30px rgba(27,52,101,.08);
    --radius:22px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    margin:0;
    background:#fff;
    color:var(--ink);
    font-family:"Noto Sans Bengali","Hind Siliguri","Segoe UI",Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
}

a{text-decoration:none}

.text-muted-custom{color:var(--muted)!important}

/* NAVBAR */
.main-navbar{
    position:sticky;
    top:0;
    z-index:1040;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(232,237,245,.75);
    transition:.25s ease;
}
.main-navbar.navbar-scrolled{box-shadow:0 8px 30px rgba(24,40,75,.08)}

.brand-mark{
    width:44px;height:44px;border-radius:14px;
    display:grid;place-items:center;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    font-weight:900;
    box-shadow:0 8px 22px rgba(49,87,232,.25);
}
.brand-text{font-weight:900;color:var(--ink);font-size:1.12rem;line-height:1}
.brand-sub{display:block;color:var(--muted);font-size:.70rem;font-weight:600;margin-top:4px}

.navbar .nav-link{
    color:#34415d;
    font-weight:700;
    padding:.7rem .85rem!important;
}
.navbar .nav-link:hover{color:var(--primary)}

.btn-primary-custom{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    border:0;
    color:#fff!important;
    font-weight:800;
    border-radius:12px;
    padding:.75rem 1.15rem;
    box-shadow:0 10px 24px rgba(49,87,232,.22);
}
.btn-primary-custom:hover{
    transform:translateY(-1px);
    filter:brightness(.98);
}
.btn-outline-custom{
    border:1px solid #ced8ef;
    color:var(--primary)!important;
    background:#fff;
    font-weight:800;
    border-radius:12px;
    padding:.75rem 1.15rem;
}

/* HERO */
.hero-section{
    position:relative;
    overflow:hidden;
    padding:92px 0 78px;
    background:
      radial-gradient(circle at 85% 10%, rgba(111,123,247,.18), transparent 28%),
      radial-gradient(circle at 12% 10%, rgba(20,184,166,.12), transparent 23%),
      linear-gradient(180deg,#fbfcff 0%,#f7f9ff 100%);
}
.hero-section:after{
    content:"";
    position:absolute;
    width:340px;height:340px;
    border-radius:50%;
    border:70px solid rgba(49,87,232,.04);
    right:-170px;bottom:-170px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--primary);
    background:#eef2ff;
    border:1px solid #dde5ff;
    padding:8px 13px;
    border-radius:999px;
    font-size:.82rem;
    font-weight:900;
    letter-spacing:.01em;
}

.hero-title{
    font-size:clamp(2.35rem,5vw,4.55rem);
    line-height:1.08;
    font-weight:950;
    letter-spacing:-.035em;
    margin:22px 0 20px;
}
.hero-title .highlight{
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-text{
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.85;
    max-width:680px;
}

.hero-trust{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:24px;
    color:#4d5b76;
    font-weight:700;
    font-size:.9rem;
}
.hero-trust span:before{
    content:"✓";
    display:inline-grid;place-items:center;
    width:21px;height:21px;
    border-radius:50%;
    background:#e8fbf8;
    color:#0e9d8e;
    margin-right:7px;
}

/* DASHBOARD MOCKUP */
.dashboard-shell{
    position:relative;
    background:#fff;
    border:1px solid #e4eaf5;
    border-radius:28px;
    padding:18px;
    box-shadow:0 30px 80px rgba(43,65,120,.16);
}
.dashboard-top{
    display:flex;align-items:center;justify-content:space-between;
    border-bottom:1px solid var(--line);
    padding:4px 4px 15px;
}
.mini-dots{display:flex;gap:6px}
.mini-dots i{display:block;width:9px;height:9px;border-radius:50%;background:#d4dbea}
.mini-dots i:nth-child(1){background:#ff8076}
.mini-dots i:nth-child(2){background:#ffc65c}
.mini-dots i:nth-child(3){background:#42c995}
.dashboard-label{font-weight:850;font-size:.84rem;color:#59647c}

.metric-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:13px;
    margin-top:15px;
}
.metric-card{
    border:1px solid #edf1f7;
    border-radius:18px;
    padding:16px;
    min-height:110px;
    background:linear-gradient(180deg,#fff,#fbfcff);
}
.metric-icon{
    width:38px;height:38px;border-radius:12px;
    display:grid;place-items:center;
    font-size:18px;font-weight:900;
    margin-bottom:12px;
}
.icon-blue{background:#edf2ff;color:#3157e8}
.icon-green{background:#eafbf6;color:#11a683}
.icon-orange{background:#fff6e7;color:#e99500}
.icon-purple{background:#f3efff;color:#7859dd}
.metric-card small{display:block;color:var(--muted);font-weight:700}
.metric-card strong{display:block;font-size:1.48rem;margin-top:4px}
.metric-card em{
    display:block;font-style:normal;font-size:.72rem;color:#13a37f;
    font-weight:800;margin-top:5px
}
.dashboard-bottom{
    margin-top:13px;
    background:#f8faff;
    border-radius:16px;
    padding:15px;
}
.fake-bar-wrap{display:flex;gap:8px;align-items:flex-end;height:68px;margin-top:12px}
.fake-bar{flex:1;background:linear-gradient(180deg,#9facff,#5370ef);border-radius:7px 7px 3px 3px}

/* GENERAL SECTIONS */
.section-space{padding:88px 0}
.section-soft{background:var(--soft)}
.section-kicker{
    color:var(--primary);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:.76rem;
}
.section-title{
    font-size:clamp(1.8rem,3vw,2.65rem);
    line-height:1.25;
    font-weight:950;
    margin:10px 0 12px;
}
.section-desc{
    color:var(--muted);
    max-width:720px;
    line-height:1.8;
    margin:auto;
}

.feature-card{
    height:100%;
    padding:25px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;
    transition:.25s ease;
}
.feature-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-sm);
    border-color:#dce5ff;
}
.feature-icon{
    width:48px;height:48px;border-radius:15px;
    display:grid;place-items:center;
    font-size:1.12rem;font-weight:950;
    margin-bottom:18px;
}
.feature-card h3{font-size:1.03rem;font-weight:900;margin-bottom:9px}
.feature-card p{font-size:.91rem;color:var(--muted);line-height:1.7;margin:0}

/* WORKFLOW */
.workflow-card{
    padding:26px;
    border-radius:22px;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
}
.step-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    position:relative;
}
.step-item:not(:last-child){padding-bottom:28px}
.step-item:not(:last-child):after{
    content:"";
    position:absolute;
    left:20px;top:42px;bottom:0;
    width:2px;background:#e4e9f5;
}
.step-no{
    width:42px;height:42px;min-width:42px;
    border-radius:13px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    display:grid;place-items:center;
    font-weight:900;
}
.step-item h4{font-size:1rem;font-weight:900;margin:2px 0 5px}
.step-item p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.6}

/* CTA */
.cta-box{
    border-radius:28px;
    padding:48px;
    background:linear-gradient(135deg,#1f3fb7,#6f7bf7);
    color:#fff;
    position:relative;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(49,87,232,.25);
}
.cta-box:after{
    content:"";
    position:absolute;
    width:260px;height:260px;border-radius:50%;
    background:rgba(255,255,255,.08);
    right:-70px;top:-90px;
}
.cta-box h2{font-weight:950}
.cta-box p{color:rgba(255,255,255,.82);max-width:650px}

/* FOOTER */
.site-footer{
    border-top:1px solid var(--line);
    padding:30px 0;
    color:var(--muted);
    background:#fff;
}

/* LOGIN */
.auth-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
      radial-gradient(circle at 15% 10%,rgba(20,184,166,.12),transparent 25%),
      radial-gradient(circle at 90% 80%,rgba(49,87,232,.18),transparent 30%),
      #f8faff;
}
.auth-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow);
    overflow:hidden;
}
.auth-brand-panel{
    height:100%;
    min-height:540px;
    padding:48px;
    color:#fff;
    background:
      linear-gradient(145deg,rgba(25,55,170,.96),rgba(99,111,238,.92));
    position:relative;
    overflow:hidden;
}
.auth-brand-panel:after{
    content:"";
    position:absolute;
    width:320px;height:320px;border-radius:50%;
    background:rgba(255,255,255,.08);
    bottom:-150px;right:-120px;
}
.auth-form-panel{padding:48px}
.form-control{
    min-height:48px;
    border-radius:12px;
    border:1px solid #dce3ef;
}
.form-control:focus{
    border-color:#8ba0f7;
    box-shadow:0 0 0 .2rem rgba(49,87,232,.11);
}
.form-label{font-weight:800;color:#40506c}

/* DASHBOARD BASE */
.app-body{background:#f4f7fb;min-height:100vh}
.app-topbar{
    height:72px;
    background:#fff;
    border-bottom:1px solid var(--line);
    display:flex;align-items:center;
    padding:0 28px;
}
.app-sidebar{
    width:260px;
    background:#17213a;
    min-height:calc(100vh - 72px);
    color:#cdd5e6;
    padding:22px 15px;
}
.app-sidebar a{
    display:block;
    color:#cdd5e6;
    padding:11px 13px;
    border-radius:10px;
    margin:3px 0;
    font-weight:700;
}
.app-sidebar a:hover,.app-sidebar a.active{
    background:rgba(255,255,255,.09);
    color:#fff;
}
.app-main{flex:1;padding:28px}
.dashboard-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
    box-shadow:0 5px 20px rgba(31,52,93,.04);
}

/* RESPONSIVE */
@media(max-width:991.98px){
    .hero-section{padding:64px 0}
    .dashboard-shell{margin-top:24px}
    .auth-brand-panel{min-height:auto;padding:32px}
    .auth-form-panel{padding:32px}
}
@media(max-width:767.98px){
    .section-space{padding:62px 0}
    .metric-grid{grid-template-columns:1fr 1fr}
    .cta-box{padding:34px 24px}
}
@media(max-width:480px){
    .metric-grid{grid-template-columns:1fr}
    .hero-trust{display:block}
    .hero-trust span{display:block;margin:8px 0}
}
