/* ── CSS Variables ── */
:root {
    --pirmary-color: #1b7eff;
    /* --pirmary-color2: #1b7eff; */
    --sub-text-color: rgba(255, 255, 255, 0.6);
    --spacing: 0.5px;
    --caption-fz: 16px;
    --title-fz: 52px;
    --title-fz2: 48px;
    --main-font-color: #161616;
    --gray-color: #4a515f;
    --sub-title-fz: 24px;
}

/* ── Font ── */
.sub-banner-title,
.sub-banner-label,
.breadcrumb span,
.sec-label,
.sec-title,
.part-name,
.mon-title,
.ba-title,
.ba-sub,
.syscfg-title,
.ai-glass-title,
.ai-pipe-step,
.ai-pipe-title,
.ba-hw-name {
  font-family: 'Noto Sans KR', sans-serif;
}

/* ── Layout utils ── */
.rnd-body {
  font-family: 'Noto Sans KR', sans-serif;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 30px;
}

.sec {
  padding: 90px 0;
}

.sec.gray {
  background: #f7f9fc;
}

.sec-label {
  display: block;
  font-size: 14px;
  color: var(--pirmary-color) ;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bar {
  display: none;
}

.sec-title {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  color: #0a1628;
  letter-spacing: -.5px;
  line-height: 1.22;
  margin-bottom: 80px;
}

.sec-body {
  font-size: 18px;
  color: #5a6a8a;
  line-height: 1.8;
  letter-spacing: -0.5px;
  font-weight: 400;
}

/* ── Blink dot ── */
.blink {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00c8ff;
  animation: blink 1.5s infinite;
  display: inline-block;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .2; }
}

/* ══ SUB-BANNER ══ */
.sub-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #030b1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sub-banner-bg svg {
  width: 100%;
  height: 100%;
  opacity: .18;
}

.sub-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 11, 26, .85) 0%, rgba(0, 87, 255, .25) 60%, rgba(0, 200, 255, .1) 100%);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, .8), transparent);
  animation: scanMove 3s linear infinite;
  z-index: 2;
}

@keyframes scanMove {
  0%   { top: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #00c8ff;
  border-style: solid;
  z-index: 2;
}

.corner.tl { top: 28px;    left: 36px;  border-width: 2px 0 0 2px; }
.corner.tr { top: 28px;    right: 36px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 28px; left: 36px;  border-width: 0 0 2px 2px; }
.corner.br { bottom: 28px; right: 36px; border-width: 0 2px 2px 0; }

.sub-banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.sub-banner-label {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 2px;
  color: #00c8ff;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  background: rgba(0, 200, 255, .1);
  border: 1px solid rgba(0, 200, 255, .3);
  padding: 7px 18px;
  border-radius: 20px;
}

.sub-banner-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.sub-banner-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--pirmary-color), #00c8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-banner-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, .6);
  font-weight: 400;
}

/* ══ BREADCRUMB ══ */
.sub-banner .breadcrumb {
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.sub-banner .breadcrumb span {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  font-weight: 400;
}

.sub-banner .breadcrumb span + span::before {
  content: ' > ';
  color: rgba(255, 255, 255, .25);
  margin: 0 6px;
}

.sub-banner .breadcrumb span:last-child {
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}

/* ══ AI GLASS CARDS ══ */
.ai-glass-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/3.5;
  cursor: default;
}

.ai-glass-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: rgba(10, 22, 40, .45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.ai-glass-title {
  font: 700 24px/1.3 'Noto Sans KR', sans-serif;
  color: #fff;
  margin: 0 0 10px;
}

.ai-glass-desc {
  font: 400 18px/1.7 'Noto Sans KR', sans-serif;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}

.ai-glass-card:hover .ai-glass-bg {
  transform: scale(1.05);
  transition: transform .5s;
}

@media (max-width: 900px) {
  .ai-glass-card { aspect-ratio: 4/3; }
}

/* ══ BEFORE / AFTER COMPARISON ══ */
.ba-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}

.ba-side {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.ba-before {
  border-color: rgba(255, 255, 255, .06);
}

.ba-after {
  border-color: rgba(0, 200, 255, .15);
  background: url('../images/rnd-bg02.jpg') center/cover no-repeat;
  position: relative;
}

.ba-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 40, .7);
  border-radius: 20px;
  z-index: 0;
}

.ba-after > * {
  position: relative;
  z-index: 1;
}

.ba-header {
  margin-bottom: 24px;
}

.ba-title {
  font: 800 24px/1.3 'Noto Sans KR', sans-serif;
  color: #fff;
  margin: 0 0 4px;
  text-align: center;
}

.ba-image {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}

.ba-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.ba-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  flex: 1;
}

.ba-item-title {
  font: 700 18px/1.3 'Noto Sans KR', sans-serif;
  color: #fff;
  margin-bottom: 6px;
}

.ba-section-label {
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ba-item-desc {
  font: 400 16px/1.7 'Noto Sans KR', sans-serif;
  color: rgba(255, 255, 255, .5);
}

.ba-hw-card {
  text-align: center;
}

.ba-hw-img {
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.ba-hw-name {
  font: 700 18px/1.3 'Noto Sans KR', sans-serif;
  color: #fff;
}

.ba-footer-bad {
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(231, 76, 60, .15);
  border: 1px solid rgba(231, 76, 60, .3);
  font: 600 20px/1 'Noto Sans KR', sans-serif;
  color: #e74c3c;
  text-align: center;
}

.ba-arrow {
  align-self: center;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .ba-compare {
    grid-template-columns: 1fr;
  }
  .ba-arrow {
    justify-content: center;
  }
  .ba-arrow-right {
    display: none !important;
  }
  .ba-arrow-down {
    display: block !important;
  }
}

/* ══ SYSTEM CONFIG CARDS ══ */
.syscfg-card {
  background: linear-gradient(145deg,var(--pirmary-color), #003cc4);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .3s, box-shadow .3s;
}

.syscfg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 87, 255, .15);
}

.syscfg-title {
  font: 800 22px/1.4 'Noto Sans KR', sans-serif;
  color: #fff;
  margin: 0 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.syscfg-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  height: 120px;
  overflow: hidden;
  width: 100%;
}

.syscfg-icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syscfg-desc-box {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.syscfg-desc-box p {
  font: 400 16px/1.75 'Noto Sans KR', sans-serif;
  color: rgba(255, 255, 255, .85);
  margin: 0;
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
  .syscfg-card { padding: 28px 20px; }
  .syscfg-title { font-size: 16px; height: 80px; }
  .syscfg-icons { height: 100px; }
  .ai-syscfg-grid { grid-template-columns: 1fr !important; }
}

/* ══ PARTS SWIPER ══ */
.parts-swiper-outer {
  padding: 0;
  position: relative;
  margin-top: 36px;
}

.parts-swiper { width: 100%; }

.parts-swiper .swiper-slide {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 87, 255, .15);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 87, 255, .08);
  transition: box-shadow .25s, transform .25s;
}

.parts-swiper .swiper-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 87, 255, .15);
  border-color: rgba(0, 87, 255, .3);
}

.part-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #3a3a3a, #1e1e1e);
  overflow: hidden;
}

.part-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
}

.parts-swiper .swiper-slide:hover .part-img-wrap img {
  transform: scale(1.05);
}

.part-info { padding: 16px 18px; }

.part-name {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 4px;
}

.part-sub {
  font-size: 16px;
  color: #8899bb;
  font-weight: 400;
}

.parts-swiper .swiper-button-prev,
.parts-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 87, 255, .25);
  color: var(--pirmary-color);
  top: 38%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.parts-swiper .swiper-button-prev::after,
.parts-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 900;
}

.parts-swiper .swiper-button-prev { left: 8px; }
.parts-swiper .swiper-button-next { right: 8px; }

.parts-swiper .swiper-button-prev:hover,
.parts-swiper .swiper-button-next:hover {
  background: var(--pirmary-color);
  color: #fff;
}

.parts-swiper .swiper-pagination {
  position: relative;
  margin-top: 24px;
}

.swiper-pagination-bullet {
  background: #c0ccdf;
  opacity: 1;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  background: var(--pirmary-color) !important;
  width: 24px;
  border-radius: 4px;
}

/* ══ AI VISION PIPELINE ══ */
@keyframes aiSweepRight {
  0%   { transform: translateX(-200%) }
  100% { transform: translateX(500%) }
}

.ai-pipeline-wrap {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 48px 0 56px;
}

.ai-pipe-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr auto 1.4fr auto 1.2fr;
  align-items: center;
  gap: 16px;
}

.ai-pipe-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}

.ai-pipe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 255, .5);
}

.ai-pipe-step {
  font: 700 13px/1 'Noto Sans KR', sans-serif;
  color: var(--pirmary-color);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ai-pipe-title {
  font: 700 18px/1.35 'Noto Sans KR', sans-serif;
  color: #fff;
  margin: 0 0 8px;
}

.ai-pipe-sub {
  font: 400 14px/1.6 'Noto Sans KR', sans-serif;
  color: rgba(255, 255, 255, .45);
  margin: 0 0 16px;
}

.ai-pipe-img {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
}

.ai-pipe-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.ai-pipe-s1 .ai-pipe-img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: none;
}

.ai-pipe-s1 .ai-pipe-img img {
  aspect-ratio: 1/1;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.ai-pipe-s4 {
  background: rgba(0, 87, 255, .08);
  border-color: rgba(0, 87, 255, .3);
}

.ai-pipe-fork {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-pipe-arrow {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 40px;
}

.ai-arrow-line {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
  min-width: 24px;
}

.ai-arrow-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--pirmary-color), transparent);
  animation: aiSweepRight 2.5s linear infinite;
}

.ai-arrow-head {
  color: var(--pirmary-color);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: -2px;
}

.ai-pipe-banner {
  margin-top: 48px;
  border: 2px solid rgba(0, 200, 200, .3);
  border-radius: 20px;
  padding: 20px 40px;
  text-align: center;
}

.ai-pipe-banner p {
  font: 500 22px/1.6 'Noto Sans KR', sans-serif;
  color: #00c8c8;
  margin: 0;
}

@media (max-width: 900px) {
  .ai-pipeline-wrap { padding: 32px 20px; border-radius: 16px; }
  .ai-pipe-grid { grid-template-columns: 1fr; gap: 12px; }
  .ai-pipe-arrow {
    justify-content: center;
    transform: rotate(90deg);
    min-width: unset;
    height: 40px;
  }
  .ai-pipe-fork { flex-direction: row !important; gap: 12px !important; }
  .ai-pipe-fork > .ai-pipe-card { flex: 1; min-width: 0; }
  .ai-pipe-banner { padding: 16px 20px; border-radius: 16px; }
}

/* ══ MONITORING ══ */
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.mon-item {
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid rgba(0, 87, 255, .1);
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 87, 255, .06);
  transition: all .2s;
}

.mon-item:hover {
  box-shadow: 0 10px 32px rgba(0, 87, 255, .12);
  transform: translateY(-2px);
}

.mon-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pirmary-color), #00c8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mon-title {
  font-size: 24px;
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 8px;
}

.mon-desc {
  font-size: 18px;
  color: #5a6a8a;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 0;
}

/* ── Sub-banner min-height ── */
.rnd-body .sub-banner { min-height: 420px; }

/* ── Section backgrounds ── */
.sec--white { background: #fff; }
.sec--dark  { background: #0a1628; padding: 100px 0; }
.sec--dark .sec-body  { color: rgba(255, 255, 255, .5); }
.sec--dark .num-title { color: #fff; }
.sec--dark .num-big   { color: rgba(255, 255, 255, .08); }

/* ── Breadcrumb link ── */
.breadcrumb a { color: inherit; }

/* ── Blink margin ── */
.sub-banner-label .blink { margin-right: 8px; }

/* ── BA arrow down (hidden on desktop) ── */
.ba-arrow-down { display: none; }

/* ── BA before item layout ── */
.ba-before .ba-item { flex-direction: column; gap: 6px; }

/* ── BA after overrides ── */
.ba-after .ba-title { color: #00c8ff; }

/* ── BA images ── */
.ba-image img    { width: 100%; object-fit: contain; display: block; background: #0d1a30; }
.ba-main-img     { border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.ba-main-img img { width: 100%; border-radius: 10px; object-fit: contain; display: block; background: #0d1a30; }

/* ── BA section label ── */
.ba-section-label span:first-child { font: 800 18px/1 'Noto Sans KR', sans-serif; color: #00c8ff; }

/* ── BA SW grid ── */
.ba-sw-grid         { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.ba-sw-item         { text-align: center; }
.ba-sw-img-wrap     { border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.ba-sw-img-wrap img { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; }

/* ── BA HW grid ── */
.ba-hw-grid               { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ba-hw-img img            { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; border-radius: 8px; }
.ba-hw-card .ba-item-desc { text-align: center; }

/* ── Num header ── */
.num-header      { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 64px; }
.num-big         { font: 900 120px/1 'Noto Sans KR', sans-serif; color: #ebebeb; user-select: none; flex-shrink: 0; }
.num-header-body { padding-bottom: 8px; }
.num-label       { font: 700 14px/1.8 'Noto Sans KR', sans-serif; color: var(--pirmary-color); text-transform: uppercase; margin-bottom: 12px; }
.num-title       { font: 900 40px/1.2 'Noto Sans KR', sans-serif; color: #0a1628; margin: 0; margin-bottom: 20px; }

/* ── Grid layouts ── */
.ai-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ai-syscfg-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

/* ── Syscfg monitor ── */
.syscfg-monitor     { background: #0d1f3c; border-radius: 10px; overflow: hidden; width: 100%; max-width: 180px; aspect-ratio: 16/10; }
.syscfg-monitor img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Responsive (mobile) ── */
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 60px 0; }
  .sec-body{
    font-size: 16px;
  }
  .sub-banner { height: 320px; }
  .sub-banner-content { padding: 0 20px; text-align: center; }

  .ai-pipe-arrow {
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    height: 48px !important;
    min-width: unset !important;
  }
  .ai-arrow-line {
    flex: 1 !important;
    width: 3px !important;
    height: auto !important;
    min-width: unset !important;
  }
  .ai-arrow-sweep {
    width: 100% !important;
    height: 20px !important;
    background: linear-gradient(180deg, transparent, var(--pirmary-color), transparent) !important;
    animation: none !important;
  }
  .ai-arrow-head { margin-left: 0 !important; font-size: 0 !important; }
  .ai-arrow-head::before { content: '▼'; font-size: 14px; color: var(--pirmary-color); }

  .ai-benefits-grid { grid-template-columns: 1fr !important; }
  .ba-hw-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .ba-hw-name { font-size: 13px !important; }
  .ba-hw-grid .ba-item-desc { font-size: 11px !important; line-height: 1.5 !important; }

  .monitor-grid { grid-template-columns: 1fr !important; }
  .ba-sw-grid   { grid-template-columns: 1fr; }
  .ai-glass-card{
    width: 100%;
    height: 460px;
  }
  .ai-pipe-banner p{
    font-size: 16px;
    font-weight: bold;
  }
  .ai-glass-desc{
    font-size: 16px;
  }
  .mon-desc{
    font-size: 16px;
  }
}
