:root {
  --jr-blue: #0875ea;
  --jr-deep: #052c70;
  --jr-navy: #031e4f;
  --jr-sky: #eaf5ff;
  --jr-ink: #0b1734;
  --jr-muted: #61708d;
  --jr-line: #dce8f5;
}

html { scroll-behavior: smooth; }

body.jr-connect-page {
  margin: 0;
  color: var(--jr-ink);
  background: #fff;
  font-family: "IBM Plex Sans Thai", sans-serif;
  overflow-x: hidden;
}

.jr-connect-page h1,
.jr-connect-page h2,
.jr-connect-page h3,
.jr-connect-page p { margin-top: 0; }

.jr-connect-page h1,
.jr-connect-page h2 {
  font-family: "IBM Plex Sans Thai", sans-serif;
  letter-spacing: -.045em;
}

.jr-connect-page a { text-decoration: none; }
.jr-connect-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.jr-hero {
  position: relative;
  min-height: 860px;
  padding: 170px 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 50%, rgba(27, 150, 255, .28), transparent 28%),
    linear-gradient(128deg, #02163d 0%, #052f76 48%, #0875ea 100%);
  overflow: hidden;
}

.jr-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, transparent 0, #000 35%, #000 100%);
}

.jr-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  border: 1px solid rgba(255,255,255,.16);
}
.jr-hero__glow--one { width: 720px; height: 720px; right: -180px; top: 90px; }
.jr-hero__glow--two { width: 480px; height: 480px; right: -30px; top: 210px; }

.jr-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .85fr);
  align-items: center;
  gap: 72px;
}

.jr-eyebrow,
.jr-kicker {
  color: var(--jr-blue);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.jr-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #8dccff;
}
.jr-eyebrow span { width: 32px; height: 2px; background: #54adff; }

.jr-hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(64px, 6vw, 96px);
  font-weight: 500;
  line-height: .98;
}
.jr-hero h1 em { color: #63b9ff; font-style: normal; font-weight: 700; }

.jr-hero__copy > p {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.8;
}

.jr-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.jr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 9px;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.jr-button:hover { transform: translateY(-3px); }
.jr-button span { margin-left: 16px; font-size: 22px; transition: transform .2s ease; }
.jr-button:hover span { transform: translateX(4px); }
.jr-button--light { color: var(--jr-deep); background: #fff; box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.jr-button--light:hover { color: var(--jr-deep); box-shadow: 0 24px 48px rgba(0,0,0,.25); }
.jr-button--ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.jr-button--ghost:hover { color: #fff; background: rgba(255,255,255,.14); }

.jr-hero__proof {
  display: flex;
  gap: 32px;
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.jr-hero__proof div { display: flex; align-items: center; gap: 11px; }
.jr-hero__proof strong { color: #fff; font: 800 24px/1 "Manrope", sans-serif; }
.jr-hero__proof span { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.35; }

.jr-hero__visual { position: relative; height: 630px; }
.jr-phone {
  position: absolute;
  width: 315px;
  overflow: hidden;
}
.jr-phone img,
.jr-screen-card img,
.jr-dashboard__phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 1903;
  object-fit: contain;
}
.jr-phone--back { right: 210px; top: 70px; transform: rotate(-8deg); opacity: .65; }
.jr-phone--front { right: 20px; top: 0; z-index: 2; transform: rotate(4deg); animation: jr-float 6s ease-in-out infinite; }

@keyframes jr-float { 50% { transform: rotate(3deg) translateY(-14px); } }

.jr-float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 12px;
  color: var(--jr-navy);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(0,25,85,.23);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
}
.jr-float-card span { display: inline-grid; width: 26px; height: 26px; margin-right: 8px; place-items: center; color: #fff; background: #12b886; border-radius: 50%; }
.jr-float-card b { display: inline-grid; width: 32px; height: 32px; margin-right: 8px; place-items: center; color: #fff; background: var(--jr-blue); border-radius: 8px; }
.jr-float-card--top { right: 335px; top: 35px; }
.jr-float-card--bottom { right: 240px; bottom: 45px; }

.jr-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .08em;
  transform: translateX(-50%);
}
.jr-scroll-cue:hover { color: #fff; }
.jr-scroll-cue span { width: 18px; height: 28px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; }

.jr-intro { padding: 120px 0; background: #fff; }
.jr-section-heading--split { display: grid; grid-template-columns: 1.05fr .75fr; gap: 100px; align-items: end; margin-bottom: 60px; }
.jr-section-heading h2,
.jr-showcase__copy h2,
.jr-security h2 {
  margin: 10px 0 0;
  color: var(--jr-ink);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 500;
  line-height: 1.12;
}
.jr-section-heading h2 span,
.jr-showcase__copy h2 span,
.jr-security h2 span { color: var(--jr-blue); font-weight: 700; }
.jr-section-heading--split > p { margin: 0; color: var(--jr-muted); font-size: 17px; line-height: 1.8; }

.jr-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jr-benefit-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--jr-line);
  border-radius: 20px;
  background: #f8fbff;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease, box-shadow .3s ease;
}
.jr-benefit-card.is-visible { transform: translateY(0); opacity: 1; }
.jr-benefit-card:nth-child(2) { transition-delay: .08s; }
.jr-benefit-card:nth-child(3) { transition-delay: .16s; }
.jr-benefit-card:nth-child(4) { transition-delay: .24s; }
.jr-benefit-card:hover { box-shadow: 0 22px 55px rgba(11,60,120,.12); transform: translateY(-8px); }
.jr-benefit-card--accent { background: var(--jr-sky); }
.jr-benefit-card--dark { color: #fff; background: var(--jr-deep); border-color: var(--jr-deep); }
.jr-card-number { position: absolute; top: 25px; right: 25px; color: #9bb0c9; font: 700 12px "Manrope", sans-serif; }
.jr-benefit-card .jr-icon { display: grid; width: 84px; height: 84px; margin-bottom: 30px; place-items: center; color: var(--jr-blue); background: #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(16,74,140,.1); font-size: 24px; font-weight: 700; }
.jr-benefit-card h3 { margin-bottom: 10px; font-size: 24px; font-weight: 700; }
.jr-benefit-card p { margin: 0; color: var(--jr-muted); font-size: 14px; line-height: 1.7; }
.jr-benefit-card--dark p { color: rgba(255,255,255,.66); }

.jr-showcase { padding: 120px 0; overflow: hidden; }
.jr-showcase--documents { background: #f1f7fd; }
.jr-showcase--payment { background: #fff; }
.jr-showcase__grid { display: grid; grid-template-columns: .85fr 1fr; gap: 120px; align-items: center; }
.jr-showcase__grid--reverse { grid-template-columns: 1fr .85fr; }
.jr-showcase__visual { position: relative; min-height: 690px; display: grid; place-items: center; }
.jr-screen-card {
  width: 350px;
  overflow: hidden;
  transform: translateY(35px);
  opacity: 0;
  transition: transform .8s ease, opacity .8s ease;
}
.jr-screen-card.is-visible { transform: translateY(0); opacity: 1; }
.jr-screen-card--tilt.is-visible { transform: rotate(5deg); }
.jr-showcase__visual::before { position: absolute; content: ""; width: 520px; height: 520px; border-radius: 50%; background: #d9ecff; }
.jr-showcase--payment .jr-showcase__visual::before { background: #edf5ff; }
.jr-screen-card { position: relative; z-index: 2; }
.jr-orbit { position: absolute; z-index: 3; display: grid; width: 72px; height: 72px; place-items: center; color: var(--jr-blue); background: #fff; border-radius: 18px; box-shadow: 0 15px 35px rgba(19,72,136,.15); font: 800 14px "Manrope",sans-serif; }
.jr-orbit--one { top: 100px; left: 5%; transform: rotate(-8deg); }
.jr-orbit--two { right: 3%; bottom: 100px; color: #fff; background: var(--jr-blue); font-size: 25px; }

.jr-showcase__copy { transform: translateY(30px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.jr-showcase__copy.is-visible { transform: none; opacity: 1; }
.jr-lead { margin: 28px 0 35px; color: var(--jr-muted); font-size: 18px; line-height: 1.8; }
.jr-check-list { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.jr-check-list li { display: flex; gap: 15px; align-items: flex-start; padding: 17px 0; border-top: 1px solid var(--jr-line); }
.jr-check-list li > span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; color: #fff; background: var(--jr-blue); border-radius: 50%; font-weight: 700; }
.jr-check-list strong, .jr-check-list small { display: block; }
.jr-check-list strong { margin-bottom: 3px; font-size: 17px; }
.jr-check-list small { color: var(--jr-muted); font-size: 13px; }

.jr-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.jr-stat-row div { padding: 20px 15px; border: 1px solid var(--jr-line); border-radius: 13px; text-align: center; }
.jr-stat-row strong, .jr-stat-row span { display: block; }
.jr-stat-row strong { color: var(--jr-blue); font-size: 24px; }
.jr-stat-row span { margin-top: 4px; color: var(--jr-muted); font-size: 12px; }
.jr-status-card { position: absolute; right: 0; bottom: 88px; z-index: 4; min-width: 205px; padding: 17px 20px; background: #fff; border-radius: 13px; box-shadow: 0 20px 48px rgba(18,63,115,.2); }
.jr-status-card i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; background: #19b477; border-radius: 50%; }
.jr-status-card span, .jr-status-card strong { display: block; }
.jr-status-card span { color: var(--jr-muted); font-size: 11px; }
.jr-status-card strong { margin-top: 3px; color: #159267; font-size: 17px; }

.jr-dashboard { padding: 125px 0 90px; color: #fff; background: linear-gradient(145deg, #031b49, #073c92); overflow: hidden; }
.jr-section-heading--center { max-width: 790px; margin: 0 auto 55px; text-align: center; }
.jr-section-heading--center h2 { color: #fff; }
.jr-section-heading--center h2 span { color: #5db5ff; }
.jr-section-heading--center > p:last-child { max-width: 600px; margin: 22px auto 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.8; }
.jr-dashboard__stage { position: relative; min-height: 690px; display: grid; place-items: start center; }
.jr-dashboard__stage::before { position: absolute; content: ""; width: 700px; height: 700px; top: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 80px rgba(50,156,255,.2) inset; }
.jr-dashboard__phone { position: relative; z-index: 2; width: 355px; overflow: hidden; }
.jr-metric, .jr-chart-card { position: absolute; z-index: 3; color: var(--jr-ink); background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.7); border-radius: 17px; box-shadow: 0 20px 55px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.jr-metric { width: 210px; padding: 20px; opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.jr-metric.is-visible { opacity: 1; transform: none; }
.jr-metric span, .jr-metric strong, .jr-metric em { display: block; }
.jr-metric span { color: var(--jr-muted); font-size: 12px; }
.jr-metric strong { margin: 6px 0; font: 800 29px "Manrope", sans-serif; }
.jr-metric em { color: #13a16f; font-size: 11px; font-style: normal; }
.jr-metric--one { left: 9%; top: 135px; transform: translateX(-30px); }
.jr-metric--two { right: 10%; top: 250px; transform: translateX(30px); }
.jr-chart-card { left: 11%; bottom: 95px; width: 245px; padding: 20px; }
.jr-chart-card span { color: var(--jr-muted); font-size: 11px; }
.jr-chart-bars { height: 85px; display: flex; gap: 9px; align-items: end; margin-top: 10px; }
.jr-chart-bars i { flex: 1; background: linear-gradient(#49adff, #0875ea); border-radius: 4px 4px 0 0; }
.jr-chart-bars i:nth-child(1) { height: 35%; }.jr-chart-bars i:nth-child(2) { height: 52%; }.jr-chart-bars i:nth-child(3) { height: 45%; }.jr-chart-bars i:nth-child(4) { height: 76%; }.jr-chart-bars i:nth-child(5) { height: 66%; }.jr-chart-bars i:nth-child(6) { height: 92%; }

.jr-security { padding: 120px 0; background: #f5f9fe; }
.jr-security__grid { display: grid; grid-template-columns: .8fr 1fr; gap: 100px; align-items: center; }
.jr-security__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.jr-security__cards article { min-height: 245px; padding: 25px 20px; border: 1px solid var(--jr-line); border-radius: 17px; background: #fff; transform: translateY(25px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.jr-security__cards article.is-visible { transform: none; opacity: 1; }
.jr-security__cards article:nth-child(2) { transition-delay: .1s; }
.jr-security__cards article:nth-child(3) { transition-delay: .2s; }
.jr-security__cards article > span { display: grid; width: 56px; height: 56px; margin-bottom: 52px; place-items: center; color: var(--jr-blue); background: var(--jr-sky); border-radius: 13px; font: 800 12px "Manrope", sans-serif; letter-spacing: .08em; }
.jr-security__cards h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.jr-security__cards p { margin: 0; color: var(--jr-muted); font-size: 13px; line-height: 1.6; }

.jr-start { padding: 90px 0; background: #fff; }
.jr-start__panel { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: center; padding: 70px 75px; border-radius: 25px; color: #fff; background: linear-gradient(125deg, #052c70, #0875ea); }
.jr-start__panel h2 { margin: 10px 0 0; color: #fff; font-size: clamp(40px, 4.5vw, 68px); font-weight: 500; line-height: 1.15; }
.jr-start__panel .jr-kicker { color: #8bceff; }
.jr-start__action { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.23); }
.jr-start__action p { color: rgba(255,255,255,.7); line-height: 1.7; }
.jr-start__action .jr-button { width: 100%; }
.jr-text-link { display: block; margin-top: 18px; color: #fff; text-align: center; font-size: 13px; text-decoration: underline !important; text-underline-offset: 4px; }
.jr-text-link:hover { color: #fff; }

.jr-mobile-login { display: none; }

@media (max-width: 1199px) {
  .jr-hero { min-height: 790px; }
  .jr-hero__container { grid-template-columns: 1fr 410px; gap: 35px; }
  .jr-hero__visual { height: 550px; }
  .jr-phone { width: 275px; }
  .jr-phone--back { right: 135px; }
  .jr-phone--front { right: 0; }
  .jr-float-card--top { right: 235px; }
  .jr-float-card--bottom { right: 150px; bottom: 20px; }
  .jr-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-showcase__grid { gap: 65px; }
  .jr-security__grid { gap: 55px; }
  .jr-security__cards { grid-template-columns: 1fr; }
  .jr-security__cards article { min-height: auto; }
  .jr-security__cards article > span { margin-bottom: 25px; }
}

@media (max-width: 991px) {
  .jr-hero { padding-top: 135px; }
  .jr-hero__container { grid-template-columns: 1fr; text-align: center; }
  .jr-hero__copy > p { margin-left: auto; margin-right: auto; }
  .jr-eyebrow, .jr-hero__actions, .jr-hero__proof { justify-content: center; }
  .jr-hero__visual { width: 580px; max-width: 100%; margin: 15px auto 0; }
  .jr-phone--back { right: 260px; }
  .jr-phone--front { right: 70px; }
  .jr-float-card--top { right: 350px; }
  .jr-float-card--bottom { right: 245px; }
  .jr-section-heading--split { grid-template-columns: 1fr; gap: 28px; }
  .jr-showcase__grid, .jr-showcase__grid--reverse { grid-template-columns: 1fr; gap: 45px; }
  .jr-showcase__copy { order: -1; }
  .jr-showcase__visual { min-height: 650px; }
  .jr-dashboard__stage { min-height: 720px; }
  .jr-metric--one { left: 2%; }
  .jr-metric--two { right: 2%; }
  .jr-chart-card { left: 3%; }
  .jr-security__grid { grid-template-columns: 1fr; }
  .jr-security__cards { grid-template-columns: repeat(3, 1fr); }
  .jr-start__panel { grid-template-columns: 1fr; gap: 40px; padding: 55px; }
  .jr-start__action { padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.23); }
}

@media (max-width: 767px) {
  .jr-hero { min-height: auto; padding: 120px 0 72px; }
  .jr-hero h1 { font-size: clamp(51px, 16vw, 72px); }
  .jr-hero__copy > p { font-size: 16px; }
  .jr-hero__proof { gap: 16px; justify-content: space-between; }
  .jr-hero__proof div { flex-direction: column; gap: 6px; text-align: center; }
  .jr-hero__visual { height: 500px; transform: scale(.9); transform-origin: center top; }
  .jr-phone { width: 250px; }
  .jr-phone--back { right: 48%; }
  .jr-phone--front { right: 7%; }
  .jr-float-card--top { left: 0; right: auto; }
  .jr-float-card--bottom { right: 8%; bottom: 20px; }
  .jr-scroll-cue { display: none; }
  .jr-intro, .jr-showcase, .jr-security { padding: 85px 0; }
  .jr-benefit-grid { grid-template-columns: 1fr; }
  .jr-benefit-card { min-height: 270px; }
  .jr-benefit-card .jr-icon { margin-bottom: 25px; }
  .jr-showcase__visual { min-height: 560px; }
  .jr-showcase__visual::before { width: 390px; height: 390px; }
  .jr-screen-card { width: 285px; }
  .jr-dashboard { padding-top: 85px; }
  .jr-dashboard__phone { width: 285px; }
  .jr-dashboard__stage { min-height: 650px; }
  .jr-dashboard__stage::before { width: 510px; height: 510px; }
  .jr-metric { width: 155px; padding: 14px; }
  .jr-metric strong { font-size: 21px; }
  .jr-metric--one { top: 120px; }
  .jr-metric--two { top: 320px; }
  .jr-chart-card { display: none; }
  .jr-security__cards { grid-template-columns: 1fr; }
  .jr-start { padding: 65px 0 90px; }
  .jr-start__panel { padding: 40px 28px; }
  .jr-mobile-login {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 20px;
    color: #fff;
    background: var(--jr-blue);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(0,45,120,.35);
    font-weight: 700;
  }
  .jr-mobile-login:hover { color: #fff; }
}

@media (max-width: 480px) {
  .jr-hero__actions { display: grid; }
  .jr-hero__visual { width: 440px; margin-left: -25px; }
  .jr-phone--back { right: 42%; }
  .jr-phone--front { right: 0; }
  .jr-float-card { font-size: 11px; }
  .jr-float-card--top { left: 10px; }
  .jr-float-card--bottom { right: 0; }
  .jr-section-heading h2, .jr-showcase__copy h2, .jr-security h2 { font-size: 40px; }
  .jr-showcase__visual { min-height: 520px; }
  .jr-screen-card { width: 260px; }
  .jr-orbit--one { left: 0; }
  .jr-orbit--two { right: 0; }
  .jr-stat-row { gap: 6px; }
  .jr-stat-row div { padding: 16px 7px; }
  .jr-dashboard__phone { width: 260px; }
  .jr-metric--one { left: -5%; }
  .jr-metric--two { right: -5%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jr-phone--front { animation: none; }
  .jr-benefit-card, .jr-showcase__copy, .jr-screen-card, .jr-metric, .jr-security__cards article { transition: none; opacity: 1; transform: none; }
}
