:root {
  --primary: #1357d7;
  --primary-dark: #0c3f9b;
  --accent: #18a0fb;
  --teal: #0f8a9d;
  --green: #15995c;
  --purple: #7a4ce0;
  --text: #1f2a44;
  --muted: #68758d;
  --bg: #f5f8fe;
  --card: #ffffff;
  --border: #dce6f5;
  --shadow: 0 18px 45px rgba(16, 43, 84, 0.10);
  --radius: 22px;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.section { padding: 84px 0; }
.section-sm { padding: 58px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(19, 87, 215, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,230,245,.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.logo-link img { width: 148px; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav a {
  font-weight: 600;
  color: #244067;
  position: relative;
}
.nav a:hover, .nav a:focus { color: var(--primary); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transition: .2s ease;
}
.nav a:hover::after, .nav a:focus::after { background: var(--primary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 15px 24px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(19,87,215,.18);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #bdd1f3;
}
.btn-secondary:hover { background: #f7fbff; }
.hero {
  background:
    radial-gradient(circle at top right, rgba(24,160,251,.18), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(19,87,215,.12), transparent 34%),
    linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}
.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -.03em;
}
.hero h1 span { color: var(--primary); }
.hero h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
  color: #21467c;
}
.hero p {
  margin: 0 0 28px;
  font-size: 18px;
  color: #415270;
  max-width: 740px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.feature-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-bullets div {
  background: rgba(255,255,255,.75);
  border: 1px solid #dce6f5;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature-bullets strong { display: block; margin-bottom: 4px; color: #10346e; }
.hero-visual {
  position: relative;
  min-height: 620px;
}
.hero-card {
  position: absolute;
  top: 40px;
  right: 0;
  width: 100%;
  height: calc(100% - 80px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(231,242,255,.84) 100%);
  border: 1px solid rgba(185, 206, 241, .8);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -24% auto;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,160,251,.16) 0%, transparent 62%);
}
.hero-visual img.kiosk {
  position: absolute;
  right: 130px;
  bottom: -20px;
  height: 680px;
  filter: drop-shadow(0 35px 35px rgba(20,52,99,.18));
}
.hero-side-points {
  position: absolute;
  top: 80px;
  right: 20px;
  display: grid;
  gap: 18px;
  width: 220px;
}
.point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid #dce6f5;
}
.point img { width: 28px; height: 28px; }
.point span { font-weight: 700; color: #2f4670; }
.compatibility {
  position: absolute;
  right: 20px;
  bottom: 28px;
  width: 170px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  border: 1px solid #dce6f5;
  box-shadow: var(--shadow);
  text-align: center;
}
.compatibility .badge-1c {
  font-size: 60px;
  line-height: .85;
  font-weight: 800;
  color: #ff1f1f;
}
.compatibility small {
  display: block;
  margin-top: 6px;
  color: #465a7c;
  font-weight: 700;
}
.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-title h3 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}
.section-title p {
  margin: 12px auto 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
}
.cards-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.solution-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.solution-card img.icon { width: 58px; height: 58px; margin-bottom: 18px; }
.solution-card h4 { margin: 0 0 10px; font-size: 32px; line-height: 1.02; }
.solution-card h4 .sub {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
  color: #2e4f86;
}
.solution-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.solution-card ul { margin: 0 0 20px 18px; padding: 0; color: #4a5f80; font-size: 14px; }
.solution-card .more { margin-top: auto; color: var(--primary); font-weight: 800; }
.advantages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.adv {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 22px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.adv img { width: 46px; height: 46px; margin: 0 auto 12px; }
.adv strong { display: block; margin-bottom: 8px; color: #21467c; }
.adv p { margin: 0; color: var(--muted); font-size: 14px; }
.pacs {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}
.pacs-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  margin-top: 40px;
}
.pacs-card {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.study-types {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.study-item {
  background: #f7fbff;
  border: 1px solid #dde8f8;
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
}
.study-item img { width: 58px; height: 58px; margin: 0 auto 10px; }
.study-item strong { display: block; color: #2e4f86; font-size: 14px; }
.server-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
}
.server-layout img { width: 100%; max-width: 240px; margin: 0 auto; }
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #47607e;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(19,87,215,.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hardware-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr .95fr;
  gap: 20px;
  margin-top: 36px;
}
.hardware-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.hardware-card h4 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.hardware-card p { margin: 0 0 16px; color: var(--muted); }
.hardware-card .kiosk-mini {
  max-height: 260px;
  object-fit: contain;
  margin-left: auto;
}
.hardware-card .art { width: 100%; max-height: 220px; object-fit: contain; }
.ecosystem {
  background: #f7faff;
}
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.flow-item {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.flow-item img { width: 54px; height: 54px; margin: 0 auto 12px; }
.flow-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}
.flow-item strong { display: block; margin-bottom: 8px; color: #21467c; }
.flow-item p { margin: 0; font-size: 14px; color: var(--muted); }
.metrics {
  background: linear-gradient(135deg, #0c4dbf 0%, #1266ec 45%, #1590ef 100%);
  color: #fff;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  text-align: center;
}
.metric strong { display: block; font-size: 38px; margin-bottom: 4px; }
.metric span { color: rgba(255,255,255,.85); font-weight: 600; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.client {
  padding: 18px;
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  color: #355481;
  font-weight: 800;
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 36px;
}
.about-card, .contact-card {
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.about-card h4, .contact-card h4 { margin: 0 0 14px; font-size: 30px; }
.about-card p, .contact-card p { margin: 0 0 14px; color: #526683; }
.company-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.company-list li { padding: 12px 0; border-bottom: 1px solid #edf3fb; color: #44607f; }
.company-list strong { color: #21467c; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #edf3fb;
}
.contact-list img { width: 24px; height: 24px; margin-top: 2px; }
.note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid #dde8f8;
  color: #526683;
}
.footer {
  background: #081b40;
  color: rgba(255,255,255,.86);
  padding: 34px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer h5 { margin: 0 0 12px; color: #fff; font-size: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; color: rgba(255,255,255,.74); }
.footer .mini-logo { width: 135px; background: #fff; padding: 8px 10px; border-radius: 14px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.66);
}
.text-center { text-align: center; }
@media (max-width: 1200px) {
  .cards-5, .advantages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hardware-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .header-inner { flex-direction: column; padding: 14px 0; }
  .hero-grid, .pacs-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 720px; }
  .feature-bullets, .study-types, .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-5, .advantages, .hardware-grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav { justify-content: center; gap: 14px 18px; }
  .hero h1 { font-size: 50px; }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .hero-visual { min-height: 640px; }
  .hero-visual img.kiosk { right: 40px; height: 520px; }
  .hero-side-points { position: static; width: auto; padding: 20px; }
  .hero-card { position: relative; top: 0; height: auto; min-height: 620px; }
  .compatibility { right: 16px; bottom: 20px; width: 140px; }
  .feature-bullets, .study-types, .cards-5, .advantages, .hardware-grid, .flow, .clients-grid, .metrics-grid, .footer-grid { grid-template-columns: 1fr; }
  .flow-item:not(:last-child)::after { display: none; }
  .server-layout { grid-template-columns: 1fr; }
}


/* V2 hero: J2LAB first presented as a software developer; gateway image moved to its product section. */
.hero-grid-services { grid-template-columns: .92fr 1.08fr; align-items: center; gap: 56px; }
.hero-copy { padding: 24px 0 30px; }
.hero-summary { margin-top: 24px; display:flex; flex-direction:column; gap:5px; padding:17px 19px; max-width:610px; border-left:4px solid var(--primary); background:rgba(255,255,255,.72); border-radius:0 16px 16px 0; color:#526683; }
.hero-summary strong { color:#173f7f; font-size:16px; }
.hero-services { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.hero-service-card { min-height:170px; padding:22px; border-radius:23px; background:rgba(255,255,255,.92); border:1px solid rgba(202,216,239,.95); box-shadow:0 18px 45px rgba(16,43,84,.09); display:flex; gap:16px; align-items:flex-start; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.hero-service-card:hover { transform:translateY(-3px); box-shadow:0 22px 52px rgba(16,43,84,.13); border-color:#b7cff5; }
.hero-service-card img { width:48px; height:48px; flex:0 0 48px; }
.hero-service-card strong { display:block; margin-bottom:7px; color:#173f7f; font-size:17px; line-height:1.22; }
.hero-service-card span { display:block; color:#68758d; font-size:14px; line-height:1.45; }
@media (max-width:980px){ .hero-grid-services{grid-template-columns:1fr;} }
@media (max-width:720px){ .hero-services{grid-template-columns:1fr;} .hero-service-card{min-height:0;} }


/* v3 adjustments */
.study-types {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.study-item {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.study-item strong {
  font-size: 13px;
  line-height: 1.2;
}
.hardware-card .art,
.hardware-card .art-photo {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #f7fbff;
  border-radius: 18px;
  border: 1px solid #e2ecfb;
  padding: 10px;
}
.flow.flow-7 {
  grid-template-columns: repeat(7, 1fr);
}
@media (max-width: 1400px) {
  .flow.flow-7 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1200px) {
  .study-types {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .flow.flow-7 {
    grid-template-columns: repeat(3, 1fr);
  }
  .study-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .study-types, .flow.flow-7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .study-types, .flow.flow-7 {
    grid-template-columns: 1fr;
  }
}
