/* MSB ERP - Public Frontend (Landing Page) */
/* Theme matched to MSB logo palette: blue #00A0E0 + warm coral accent. */

:root {
    --brand: #0096d4;
    --brand-dark: #0071a8;
    --brand-deeper: #034f77;
    --brand-soft: #e3f4fb;
    --accent: #e8542f;
    --accent-2: #ffb03b;
    --ink: #12222e;
    --muted: #5b6b78;
    --border: #e3ecf2;
    --bg: #f6fafd;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 113, 168, .07);
    --shadow-md: 0 10px 32px rgba(0, 113, 168, .12);
    --shadow-lg: 0 24px 56px rgba(0, 113, 168, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body.landing-body {
    font-family: "Segoe UI", "Noto Sans Bengali", "Nirmala UI", "SolaimanLipi", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    display: block;
}
img { max-width: 100%; }
a { color: var(--brand); }

.landing-shell { overflow-x: hidden; width: 100%; min-height: 100vh; }

/* ---------- Navigation ---------- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand-logo {
    background: linear-gradient(135deg, var(--brand), #00b4e8);
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 16px;
    letter-spacing: .5px;
    line-height: 1;
}
.lp-brand-img { height: 42px; display: flex; align-items: center; justify-content: center; flex: none; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 4px 6px; box-shadow: var(--shadow-sm); }
.lp-brand-img img { height: 100%; width: auto; max-width: none; object-fit: contain; display: block; border-radius: 6px; }
.lp-brand-name { font-weight: 800; font-size: 18px; color: var(--ink); display: flex; flex-direction: column; line-height: 1.1; }
.lp-brand-sub { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; }
.lp-nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.lp-nav-links a:hover { color: var(--brand); }
.lp-nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn-primary { background: linear-gradient(135deg, var(--brand), #00b4e8); color: #fff; box-shadow: 0 8px 20px rgba(0, 150, 212, .30); }
.lp-btn-primary:hover { box-shadow: 0 12px 26px rgba(0, 150, 212, .40); }
.lp-btn-light { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.lp-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.lp-btn-lg { padding: 15px 30px; font-size: 15px; border-radius: 12px; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(0, 150, 212, .18), transparent 60%),
        radial-gradient(800px 420px at 95% 0%, rgba(232, 84, 47, .16), transparent 55%),
        linear-gradient(180deg, #f0f8fc 0%, #e9f5fb 100%);
    padding: 92px 22px 80px;
}
.lp-hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.lp-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.18; margin: 0 0 18px; letter-spacing: -.5px; }
.lp-hero h1 .grad {
    background: linear-gradient(120deg, var(--brand), #00b4e8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-hero p { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.lp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.lp-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.lp-hero-stat .num { font-size: 26px; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.lp-hero-stat .lbl { font-size: 13px; color: var(--muted); }

/* Hero mock panel */
.lp-mock {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: rotate(1deg);
}
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f4f8fa; border-bottom: 1px solid var(--border); }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lp-mock-body { padding: 20px; }
.lp-mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-mock-chip { flex: 1; background: var(--brand-soft); border-radius: 8px; padding: 12px 14px; }
.lp-mock-chip b { display: block; font-size: 13px; color: var(--brand-dark); }
.lp-mock-chip span { font-size: 12px; color: var(--muted); }
.lp-mock-line { height: 10px; border-radius: 6px; background: #ecf2f6; margin-bottom: 9px; }
.lp-mock-line.w80 { width: 80%; }
.lp-mock-line.w60 { width: 60%; }
.lp-mock-line.w40 { width: 40%; }
.lp-mock-line.green { background: var(--brand-soft); width: 10%; }

/* ---------- Sections ---------- */
.lp-section { padding: 84px 22px; }
.lp-section-inner { max-width: 1180px; margin: 0 auto; }
.lp-section-center { text-align: center; }
.lp-kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lp-h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; letter-spacing: -.4px; line-height: 1.15; }
.lp-lead { color: var(--muted); max-width: 640px; margin: 0 auto 38px; font-size: 16px; }

/* ---------- Modules grid ---------- */
.lp-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-module {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 22px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
    overflow: hidden;
}
.lp-module:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: var(--ink); }
.lp-module::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent-2)); opacity: 0; transition: opacity .18s ease; }
.lp-module:hover::after { opacity: 1; }
.lp-module-icon {
    width: 52px; height: 52px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}
.lp-module h3 { margin: 0 0 2px; font-size: 17px; }
.lp-module-en { margin: 0 0 7px; font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .2px; }
.lp-module p { margin: 0; font-size: 13.5px; color: var(--muted); }
.lp-module-go { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Features ---------- */
.lp-feature-strip { background: #fff; border-top: 1px solid var(--border); }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-feature { background: var(--bg); border-radius: 16px; padding: 28px 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lp-feature em { font-style: normal; font-size: 30px; line-height: 1; }
.lp-feature h3 { margin: 12px 0 2px; font-size: 17px; }
.lp-feature .lp-module-en { margin-bottom: 0; }

/* ---------- Technology strip ---------- */
.lp-tech {
    background: linear-gradient(135deg, var(--brand-deeper), var(--brand-dark));
    border-radius: 22px;
    padding: 46px 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    margin-top: 30px;
    filter: drop-shadow(0 16px 30px rgba(3, 79, 119, .28));
}
.lp-tech h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.lp-tech p { color: rgba(255,255,255,.82); margin: 0 0 22px; }
.lp-tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-tech-tag { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600; }

/* ---------- CTA band ---------- */
.lp-cta { text-align: center; background: linear-gradient(135deg, #fffffe, #f1f9fd); border: 1px solid var(--border); border-radius: 22px; padding: 54px 30px; box-shadow: var(--shadow-sm); }
.lp-cta h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 0 0 12px; }
.lp-cta p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.lp-footer { background: #071c28; color: #cfe6f3; padding: 54px 22px 26px; }
.lp-footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.lp-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .5px; }
.lp-footer a { color: #cfe6f3; text-decoration: none; font-size: 14px; }
.lp-footer a:hover { color: #fff; }
.lp-footer .col { display: flex; flex-direction: column; gap: 9px; }
.lp-footer-brand p { font-size: 13.5px; color: #9dbdcc; max-width: 340px; }
.lp-footer-bottom { max-width: 1180px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 13px; color: #8ba9b8; }

/* ---------- Color helpers for module icons ---------- */
.ic-navy { background: linear-gradient(135deg, #045f8f, #00a0e0); }
.ic-blue { background: linear-gradient(135deg, #1d5bd7, #4d8dff); }
.ic-amber { background: linear-gradient(135deg, #e8542f, #ffb03b); }
.ic-violet { background: linear-gradient(135deg, #6d3fd1, #9a6bff); }
.ic-red { background: linear-gradient(135deg, #c0342f, #ef5b54); }
.ic-teal { background: linear-gradient(135deg, #0a7d8c, #26b8c9); }
.ic-slate { background: linear-gradient(135deg, #37454f, #5f7784); }
.ic-pink { background: linear-gradient(135deg, #b23a70, #ee6ba2); }
.ic-indigo { background: linear-gradient(135deg, #3038a8, #675ff0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-mock { transform: none; }
    .lp-modules { grid-template-columns: repeat(2, 1fr); }
    .lp-features { grid-template-columns: 1fr; }
    .lp-tech { grid-template-columns: 1fr; }
    .lp-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .lp-nav-inner { flex-wrap: wrap; height: auto; padding: 14px 22px; gap: 8px; }
    .lp-nav-links { gap: 14px; }
    .lp-modules { grid-template-columns: 1fr; }
    .lp-footer-inner { grid-template-columns: 1fr; }
    .lp-hero { padding: 56px 18px 54px; }
    .lp-section { padding: 60px 18px; }
}