/* বাংলা ব্যাখ্যা: এই ফাইলে NAGAR টেস্ট হোমপেজের রং, কার্ড, বাটন এবং responsive layout সাজানো হয়েছে। */

:root {
  color-scheme: dark;
  --page: #061326;
  --page-deep: #040d1c;
  --panel: rgba(11, 32, 59, .82);
  --panel-strong: #0a1d37;
  --line: rgba(87, 157, 220, .22);
  --text: #f2f7ff;
  --muted: #a8bdd8;
  --cyan: #27c9f4;
  --blue: #3976ff;
  --violet: #8b55ff;
  --green: #49d8aa;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 84% 0%, rgba(98, 55, 202, .19), transparent 34rem),
    radial-gradient(ellipse at 5% 30%, rgba(0, 175, 220, .11), transparent 31rem),
    var(--page-deep);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #7de4ff; outline-offset: 4px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  color: #061326;
  background: #fff;
  border-radius: 9px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(74, 142, 204, .18);
  background: rgba(4, 13, 28, .88);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark, .banner-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: white;
  font-size: 27px;
  font-weight: 900;
  background: linear-gradient(145deg, #18c5ef, #4c5bff 62%, #922eff);
  box-shadow: 0 9px 28px rgba(50, 113, 255, .3);
}
.brand-copy { display: grid; line-height: 1.14; }
.brand-copy strong { font-size: 21px; letter-spacing: -.03em; }
.brand-copy small { margin-top: 4px; color: #a8bfdc; font-size: 11px; }

.main-nav, .header-actions { display: flex; align-items: center; gap: 8px; }
.main-nav { margin-left: auto; }
.main-nav a, .login-link {
  padding: 10px 13px;
  border-radius: 10px;
  color: #c7d8ed;
  font-size: 13px;
  transition: background .18s ease, color .18s ease;
}
.main-nav a:hover, .login-link:hover { color: white; background: rgba(30, 68, 109, .45); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.button-primary {
  background: linear-gradient(105deg, #09bce9, #315eff 58%, #9238fa);
  box-shadow: 0 8px 24px rgba(47, 99, 255, .25), inset 0 1px rgba(255, 255, 255, .34);
}
.button-primary:hover { box-shadow: 0 12px 30px rgba(47, 99, 255, .34); }
.button-secondary { border-color: rgba(95, 162, 219, .4); background: rgba(13, 39, 69, .76); }

.page-width { width: min(1220px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 30px;
  align-items: center;
  min-height: 470px;
  margin-top: 38px;
  padding: 48px clamp(28px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(55, 142, 214, .48);
  border-radius: 30px;
  background: linear-gradient(125deg, rgba(10, 40, 74, .97), rgba(7, 23, 50, .96) 60%, rgba(20, 21, 67, .93));
  box-shadow: var(--shadow);
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: -170px;
  bottom: -310px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 48, 255, .28), transparent 68%);
  content: "";
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
}
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(73, 216, 170, .7); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(42px, 5.2vw, 70px); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #18d0ee, #55a2ff 55%, #a06aff); background-clip: text; -webkit-background-clip: text; }
.hero-description { max-width: 620px; margin: 20px 0 0; color: #b5c9e1; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #9db5d0; font-size: 11px; }
.check-mark { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid rgba(73, 216, 170, .38); border-radius: 50%; color: var(--green); background: rgba(73, 216, 170, .1); font-size: 11px; }

.hero-visual { position: relative; display: grid; min-height: 330px; place-items: center; }
.visual-glow { position: absolute; width: 330px; height: 280px; border-radius: 50%; background: radial-gradient(ellipse, rgba(28, 121, 255, .27), rgba(111, 55, 230, .13) 48%, transparent 72%); filter: blur(8px); }
.orbit { position: absolute; border: 1px solid rgba(26, 198, 235, .48); border-radius: 50%; }
.orbit-one { width: 330px; height: 145px; transform: rotate(-18deg); }
.orbit-two { width: 235px; height: 305px; border-color: rgba(157, 96, 255, .48); transform: rotate(29deg); }
.visual-logo { position: relative; z-index: 1; display: grid; width: 122px; height: 122px; place-items: center; border-radius: 34px; background: linear-gradient(145deg, #13c3f3, #4165ff 58%, #8d39f4); box-shadow: 0 18px 55px rgba(24, 144, 255, .4); font-size: 60px; font-weight: 900; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; min-width: 208px; padding: 12px 13px; border: 1px solid rgba(121, 173, 223, .24); border-radius: 14px; background: rgba(7, 23, 43, .84); box-shadow: 0 12px 36px rgba(0, 0, 0, .28); backdrop-filter: blur(12px); }
.floating-card span:nth-child(2) { display: grid; line-height: 1.3; }
.floating-card b { font-size: 11px; }
.floating-card small { margin-top: 3px; color: #94aec9; font-size: 10px; }
.mini-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 11px; font-size: 18px; font-weight: 800; }
.cyan-icon { color: #7ceaff; background: rgba(13, 188, 233, .17); }
.violet-icon { color: #d4b9ff; background: rgba(139, 85, 255, .2); }
.arrow { margin-left: auto; color: #83bce9; }
.card-pan { top: 39px; left: 1%; }
.card-wallet { right: 0; bottom: 38px; }
.visual-caption { position: absolute; bottom: -7px; display: flex; align-items: center; gap: 8px; color: #91aac6; font-size: 10px; letter-spacing: .04em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.service-section { padding-top: 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.section-heading .eyebrow, .how-intro .eyebrow { margin-bottom: 7px; }
.section-heading h2, .how-intro h2 { margin: 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.15; letter-spacing: -.035em; }
.section-description, .how-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.text-link, .card-link { color: #6bdcff; font-size: 12px; font-weight: 750; }
.text-link:hover, .card-link:hover { color: white; }
.text-link span, .card-link span { padding-left: 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { position: relative; display: flex; min-height: 270px; flex-direction: column; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(12, 35, 63, .95), rgba(7, 23, 44, .95)); box-shadow: 0 14px 36px rgba(0, 0, 0, .14); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(49, 191, 238, .48); box-shadow: 0 20px 44px rgba(0, 0, 0, .24); }
.service-card-featured { background: linear-gradient(145deg, rgba(11, 47, 78, .98), rgba(9, 27, 54, .96)); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-icon { display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; color: white; font-size: 24px; font-weight: 800; box-shadow: inset 0 1px rgba(255, 255, 255, .2); }
.icon-blue { background: linear-gradient(145deg, #19b9ed, #226af9); }
.icon-teal { background: linear-gradient(145deg, #10cfbd, #0789d9); }
.icon-violet { background: linear-gradient(145deg, #7166ff, #a235e8); }
.availability { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid rgba(73, 216, 170, .25); border-radius: 99px; color: #9be8cf; background: rgba(40, 176, 133, .08); font-size: 9px; }
.availability i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.card-kicker { margin: 20px 0 4px; color: #51d4f8; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.service-card h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.service-card > p:not(.card-kicker) { margin: 9px 0 18px; color: #a3bad3; font-size: 12px; }
.card-link { margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(109, 161, 207, .15); }
.static-note { margin: 13px 2px 0; color: #7892ae; font-size: 10px; }

.how-section { display: grid; grid-template-columns: minmax(215px, .72fr) minmax(0, 1.8fr); gap: 42px; align-items: center; padding-top: 82px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step-card { min-height: 161px; padding: 17px; border: 1px solid rgba(93, 152, 207, .18); border-radius: 15px; background: rgba(8, 25, 47, .74); }
.step-number { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: #7ee3ff; background: rgba(25, 168, 221, .12); font-size: 10px; font-weight: 850; }
.step-card h3 { margin: 14px 0 5px; font-size: 13px; }
.step-card p { margin: 0; color: #91a9c4; font-size: 11px; }

.account-banner { display: flex; align-items: center; gap: 19px; margin-top: 78px; padding: 23px 26px; border: 1px solid rgba(82, 154, 219, .24); border-radius: 19px; background: linear-gradient(105deg, rgba(13, 47, 79, .9), rgba(19, 25, 66, .85)); box-shadow: 0 17px 43px rgba(0, 0, 0, .15); }
.banner-mark { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 17px; font-size: 29px; }
.account-banner .eyebrow { margin: 0 0 3px; }
.account-banner h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.account-banner p:last-child { margin: 3px 0 0; color: #9eb6d0; font-size: 11px; }
.account-banner .button { margin-left: auto; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 50px; padding: 21px 0 28px; border-top: 1px solid rgba(74, 142, 204, .18); }
.footer-brand .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 21px; }
.footer-brand .brand-copy strong { font-size: 17px; }
.footer-brand .brand-copy small { font-size: 9px; }
.site-footer > p, .copyright { margin: 0; color: #829bb7; font-size: 10px; }
.site-footer > p { text-align: center; }

@media (max-width: 900px) {
  .header-inner { width: min(100% - 32px, 760px); gap: 14px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 9px; }
  .page-width { width: min(100% - 32px, 760px); }
  .hero { grid-template-columns: 1fr; gap: 0; padding: 38px 34px 28px; }
  .hero-visual { min-height: 270px; }
  .visual-caption { bottom: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-section { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 68px; width: calc(100% - 24px); flex-wrap: wrap; gap: 5px; padding: 9px 0; }
  .brand-mark { width: 39px; height: 39px; border-radius: 12px; font-size: 23px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 9px; }
  .main-nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid rgba(74, 142, 204, .13); }
  .main-nav a { padding: 7px 12px; font-size: 11px; }
  .header-actions { gap: 2px; }
  .login-link { padding: 8px; font-size: 11px; }
  .button-small { min-height: 35px; padding: 7px 10px; font-size: 10px; }
  .page-width { width: calc(100% - 24px); }
  .hero { min-height: 0; margin-top: 20px; padding: 29px 22px 20px; border-radius: 22px; }
  .hero h1 { font-size: clamp(39px, 11vw, 56px); }
  .hero-description { margin-top: 15px; font-size: 13px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; font-size: 10px; }
  .hero-visual { min-height: 230px; margin-top: 5px; }
  .visual-logo { width: 90px; height: 90px; border-radius: 27px; font-size: 46px; }
  .orbit-one { width: 270px; height: 120px; }
  .orbit-two { width: 185px; height: 230px; }
  .floating-card { min-width: 174px; padding: 9px; }
  .floating-card b { font-size: 10px; }
  .floating-card small { font-size: 9px; }
  .mini-icon { width: 29px; height: 29px; }
  .card-pan { top: 18px; left: -5px; }
  .card-wallet { right: -5px; bottom: 17px; }
  .visual-caption { bottom: -5px; }
  .service-section { padding-top: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2, .how-intro h2 { font-size: 28px; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .how-section { padding-top: 58px; }
  .step-card { min-height: auto; }
  .step-card h3 { margin-top: 10px; }
  .account-banner { align-items: flex-start; flex-wrap: wrap; gap: 13px; margin-top: 55px; padding: 18px; }
  .banner-mark { width: 44px; height: 44px; border-radius: 14px; font-size: 24px; }
  .account-banner > div:nth-child(2) { flex: 1; min-width: 180px; }
  .account-banner h2 { font-size: 18px; }
  .account-banner .button { width: 100%; margin-left: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 38px; }
  .site-footer > p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
