/* SystemOne Bangladesh — main stylesheet */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-3: #1D4273;
  --teal: #0E9F9A;
  --teal-dark: #0A7F7B;
  --teal-50: #E8F6F5;
  --orange: #F39200;
  --ink: #18212D;
  --muted: #5A6677;
  --line: #E3E8EF;
  --soft: #F5F8FB;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .04);
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .14);
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand svg { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--navy); padding: 10px 14px; border-radius: 10px; position: relative;
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--soft); }
.nav a.active { color: var(--teal-dark); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--teal); border-radius: 2px;
}
.nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 24px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(14, 159, 154, .28); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 159, 154, .34); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-50); color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #cfd8e4; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--teal-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.bg-navy .eyebrow { color: #6fd6d1; }
.bg-navy .eyebrow::before { background: #6fd6d1; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.bg-navy .lead { color: #b9c6d6; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(14, 159, 154, .12), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(11, 37, 69, .07), transparent 60%),
    linear-gradient(180deg, #fbfdfe, #fff);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--teal); }
.hero-visual { position: relative; }
.hero-visual .panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px;
}

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 76px 0 64px; background: var(--navy); color: #c8d3e1; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(14, 159, 154, .35), transparent 65%),
    radial-gradient(500px 300px at 0% 120%, rgba(243, 146, 0, .10), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #b9c6d6; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: #6fd6d1; }
.page-hero .eyebrow::before { background: #6fd6d1; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #8fa3bb; }
.crumbs a { color: #b9c6d6; }
.crumbs a:hover { color: #fff; }

/* ---------- Audience strip ---------- */
.audience { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.audience-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.audience-label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.audience-list { display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; }
.audience-list li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.audience-list svg { width: 22px; height: 22px; color: var(--teal); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card h3 { margin-bottom: .45em; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-dark); margin-bottom: 20px; transition: background .25s, color .25s;
}
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--teal); color: #fff; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(3px); }
.card-stretch::after { content: ""; position: absolute; inset: 0; }

.service-card { display: flex; flex-direction: column; }
.service-card .num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: #c2ccd8; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; display: grid; gap: 14px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-50); color: var(--teal-dark); display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 14px; height: 14px; }
.bg-navy .checklist .tick { background: rgba(111, 214, 209, .15); color: #6fd6d1; }
.bg-navy .checklist li { color: #d6dfe9; }
.visual-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.bg-navy .visual-card { background: var(--navy-2); border-color: rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.25); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--teal);
  color: var(--teal-dark); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.steps::before {
  content: ""; position: absolute; top: 32px; left: 24px; right: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .45;
}
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.bg-soft .step-num { background: var(--soft); }

/* ---------- Why us ---------- */
.why { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .25s, transform .25s; }
.why:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.why .icon { flex-shrink: 0; margin: 0; background: rgba(111, 214, 209, .14); color: #6fd6d1; }
.why p { margin: 0; color: #b9c6d6; font-size: .97rem; }
.why h3 { margin-bottom: .35em; }

/* ---------- Product ---------- */
.product {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
}
.product-body { padding: 44px; }
.product-art { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); display: grid; place-items: center; padding: 32px; position: relative; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal-dark); }
.tag.orange { background: #FEF1DE; color: #A86400; }
.tag.navy { background: #E7ECF3; color: var(--navy); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 60%, #0d5f6e 100%);
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #c8d3e1;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(111, 214, 209, .08);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Service detail ---------- */
.service-detail { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .icon { width: 64px; height: 64px; border-radius: 18px; }
.service-detail .icon svg { width: 30px; height: 30px; }
.service-detail p { color: var(--muted); }
.service-detail ul { list-style: none; display: grid; gap: 10px; }
.service-detail li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.service-detail li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 4px; }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.service-nav a { font-size: .86rem; font-family: var(--font-head); font-weight: 600; color: #d6dfe9; border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 999px; transition: background .2s, border-color .2s; }
.service-nav a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }

/* ---------- Values ---------- */
.value { padding: 28px; border-left: 3px solid var(--teal); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.value p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; transition: box-shadow .2s, transform .2s; }
.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-item .icon { margin: 0; flex-shrink: 0; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); }
.contact-item a:hover { color: var(--teal-dark); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--soft);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(14,159,154,.12); }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.ok { background: var(--teal-50); color: var(--teal-dark); border: 1px solid #bfe6e3; }
.alert.err { background: #FDECEC; color: #A12828; border: 1px solid #f5c4c4; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #081B33; color: #9fb0c5; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.site-footer .brand svg { height: 52px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #9fb0c5; }
.site-footer a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; color: #6fd6d1; flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }

/* ---------- Illustrations ---------- */
.flow-line { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; height: calc(100vh - 78px); height: calc(100dvh - 78px); background: #fff;
    display: none; flex-direction: column; align-items: stretch; padding: 20px 24px 32px; gap: 4px;
    overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; animation: navIn .25s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
  body.nav-open { overflow: hidden; }
  .hero-grid, .split, .contact-grid, .product { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { max-width: 560px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .service-detail { grid-template-columns: 64px 1fr; }
  .service-detail > ul { grid-column: 2; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .brand svg { height: 42px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .steps, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .service-detail > ul { grid-column: 1; }
  .product-body, .form { padding: 26px; }
  .cta-band { padding: 32px 24px; }
  .audience-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 60px 0; }
}
