/* --------- CSS Reset (간단 버전) --------- */

/* --------- Page BG (Tailwind: bg-gradient-to-br from-slate-50 via-blue-50 to-slate-100) --------- */
.page__bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 45%, #f1f5f9 100%);
}

/* --------- Container & Section paddings (max-w-7xl, px, py) --------- */
.container {
  max-width: 80rem;
  /* ~1280px */
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 3rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 5rem;
  }

  .container {
    padding-inline: 2rem;
  }
}

/* --------- Header --------- */
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section__header {
    margin-bottom: 4rem;
  }
}

.headline {
  /* 타이포 기본 */
  margin: 0 auto;
  max-width: 56rem;
  font-size: clamp(25px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #0f172a;
  /* slate-900 */

  /* 레이아웃/가독성 */
  text-wrap: balance;
  -webkit-text-size-adjust: 100%;
  hyphens: auto;

  /* 미세한 깊이감 */
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);

  /* 아래 그라데이션 포인트 바 위한 위치 지정 */
  position: relative;
  padding-bottom: 18px;
}

/* 특정 단어만 살짝 강조하고 싶을 때 쓸 수 있는 보조 클래스(선택) */
.headline .hl {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------- Card Shell --------- */
.card {
  background: #fff;
  border-radius: 1.5rem;
  border-top: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.p-block {
  padding: 2rem;
}

.p-inset {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .p-block {
    padding: 3rem;
  }

  .p-inset {
    padding: 3rem;
  }
}

.info-wrapper {
  padding: 0 48px 0 48px;
}

.info {
  width: 100%;
  background-color: rgb(36, 36, 77);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  justify-items: center;
  padding: 30px 0 30px 0;
}

.info-price {
  display: flex;
  flex-direction: column;
  color: white;
}

.info p {
  color: white;
  font-size: clamp(40px, 3vw, 50px);
  margin: 0;
}


/* --------- Responsive Grid (lg:grid-cols-2) --------- */
.grid-two {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .grid-two {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* --------- Left: Image area --------- */
.image-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #eff6ff, #f1f5f9); */
  /* padding: 2rem; */
  border: solid 2px #85888d;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------- Right: Stats grid (grid-cols-2) --------- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: center;
}

@media (min-width: 1024px) {
  .stats-grid {
    gap: 1.5rem;
  }
}

.stat-card {
  background: #283954;
  color: #fff;
  border-radius: 0.4rem;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
  transition: box-shadow .25s ease;
}

.stat-card:hover {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
}

.stat-card--wide {
  grid-column: 1 / -1;
  background: #283954;
  box-shadow: 0 10px 20px rgba(51, 65, 85, 0.35);
}

.stat-label {
  font-size: clamp(15px, 1vw, 20px);
  opacity: .9;
  margin-bottom: .5rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: .25rem;
}

.stat-value .num {
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
  font-weight: 700;
}

.stat-value .unit {
  font-size: 1.125rem;
  opacity: .9;
}

.engine-wrapper {
  padding: 40px;
  padding-top: 0;
  display: grid;
  grid-template-columns: 40% 40%;
  align-items: center;
  text-align: center;
  justify-content: center;
  /* border-top: 2px solid grey; */
}

.engine-wrapper p {
  margin-bottom: 0;
}

.engine-wrapper img {
  width: 70%;

}

.engine-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.engine-info p {
  font-weight: 700;

  color: black;
}

.engine-explain {
  font-size: clamp(30px, 2vw, 40px);
}

.text-eng {
  color: grey;
  font-size: clamp(20px, 1vw, 30px);
  margin-top: 0;
}

.inquire-btn-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  justify-content: center;
}

.inquire-btn {
  width: 200px;
  font-size: 20px;
  padding: 20px;
  text-align: center;
  align-items: center;
  font-weight: bold;
  background-color: #eeecec;
  color: rgb(64, 64, 64);
  border-radius: 15px;
  border: 1px, solid, rgb(105, 105, 105);
}

@media (max-width: 768px) {
  .container {
    padding-top: 0;
  }

  .stat-value .num {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
  }

  .stat-card {
    padding: 15px;

  }

  .engine-wrapper {
    grid-template-columns: 1fr;
    /* 2열 → 1열 */
    justify-content: center;
    justify-items: center;
    align-items: center;
    row-gap: 12px;
    padding: 20px 16px;
    /* 좌우 여백 축소 */
    text-align: center;
  }

  .engine-info {
    margin-bottom: 4px;
  }

  .engine-wrapper img,
  .engine-info .engine-img {
    width: min(70vw, 360px);
    /* 화면 기준 적당한 너비 */
    height: auto;
    display: block;
  }

  .engine-info p {
    font-weight: 700;
    color: #000;
    margin: 8px 0 0;
    font-size: clamp(16px, 4.6vw, 18px);
  }

  .engine-explain {
    font-size: clamp(25px, 5.2vw, 30px);
    /* 본문 한글 */
    line-height: 1.35;
  }

  .engine-explain br {
    display: none;
  }

  /* 모바일에선 줄바꿈 태그 숨김 */

  .engine-explain .text-eng {
    color: grey;
    font-size: clamp(14px, 4.2vw, 18px);
    /* 영문 서브 */
    margin-top: 2px;
  }

  .info-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .info-price p {
    font-size: clamp(30px, 2.0vw, 35px);
  }

  .info {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .features-card .features-block {
    border: none !important;
    height: auto !important;
  }

  .features-card {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .features-block {
    padding: 10px !important;
  }

  .p-inset {
    padding: 0 !important;
  }

  .features-card span {
    font-size: clamp(15px, 1vw, 20px) !important;
    line-height: clamp(17px, 0.7vw, 24px);
  }

  .features-grid {
    gap: 40px !important;
  }

  .subhead {
    font-size: clamp(20px, 2vw, 30px) !important;
    font-weight: 800;
  }
}

/* --------- Content --------- */
.features-card span {
  font-size: clamp(10px, 3vw, 20px);
}

.features-card ul,
.features-card .list {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

/* 혹시 브라우저 ::marker가 찍히는 경우도 차단 */
.features-card .list__item::marker,
.features-card li::marker {
  content: "" !important;
}

/* 리스트 아이템 레이아웃 보강 (불릿 대신 숫자칩 + 텍스트 정렬) */
.features-card .list {
  display: grid;
  gap: .6rem;
  align-items: center;

}

.features-card .list__item {
  display: flex;
  gap: .75rem;
  color: #334155;
  align-items: center;
  text-align: left;
  line-height: 1.8rem;
}

.features-card .list__index {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e5efff;
  color: #1d4ed8;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px #cfe0ff;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 칩(활용 분야) 스타일이 안 먹을 때 대비해 우선순위 높여 재정의 */
.subhead {
  margin: 0;
  font-size: clamp(15px, 2vw, 30px);
  text-align: center;
}

.features-card .chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.features-card .chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}

.features-card .chip:hover {
  background: #e9eef5;
  border-color: #d7dee7;
}

/* 컬럼 그리드 재확인 (한 줄로 쭉 붙는 현상 방지) */
.features-card .features-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .features-card .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

}

/* 카드/블록 기본 스타일(혹시 누락됐을 때 한 번 더) */
.features-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .05);
}

.features-card .features-block {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 15px;
  gap: 20px;
  height: clamp(200px, 2vh, 300px);
  align-items: center;
  justify-content: center;
}

/* 헤더 라인 */
.features-card .features-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.features-card .features-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.features-card .features-accent {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6487bd 0%, #bf958e 100%);
  opacity: .6;
}





/* Note box */
.note {
  margin-top: 1.5rem;
  background: #eff6ff;
  /* blue-50 */
  border: 1px solid #dbeafe;
  /* blue-100 */
  border-radius: .75rem;
  padding: 1rem;
  color: grey;
}

.note strong {
  color: #0f172a;
}

.note p {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 40px;
}

/* CTA Buttons */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .875rem 1.25rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  background: #1d4ed8;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
}

.btn--outline {
  background: #fff;
  color: #0f172a;
  border-color: #cbd5e1;
  /* slate-300 */
}

.btn--outline:hover {
  background: #f8fafc;
}

/* Utility paddings inside card sections */
.p-inset>*+* {
  margin-top: 1.25rem;
}