/* ====================================================================
   MAIN.CSS (index / 랜딩페이지 전용)
   이 페이지에만 쓰이는 히어로·문제점·솔루션·통계·해결·체크리스트·CTA배너
   ※ common.css를 먼저 불러온 뒤 이 파일을 불러와야 합니다.
   ==================================================================== */

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 560px;
  margin-top: 76px;
  background:
    linear-gradient(100deg, rgba(10, 13, 22, 0.8) 0%, rgba(12, 15, 26, 0.4) 38%, rgba(12, 15, 26, 0.2) 62%, rgba(12, 15, 26, 0.1) 100%),
    url('/images/front/v2026/main/hero.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  height: 100vh;
}

.hero-inner {
  max-width: 1420px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 620px;
  color: #fff;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

body.js-ready .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: 58px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-content h1 .big {
  font-size: 58px;
  font-weight: 800;
}

.hero-sub {
  margin-top: 14px;
  color: #c7cad3;
  font-size: 24px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  gap: 14px;
  margin: 26px 0 22px;
  font-size: 24px;
  color: #dcdfe6;
  flex-wrap: wrap;
}

.hero-meta b {
 color: var(--red);
}

.hero-meta .sep {
  color: #565b6b;
}

.hero-btns {
  display: flex;
  gap: 14px;
 
}

/* ==================== SECTION 2: pain points ==================== */
.eyebrow-block h2 {
  font-size: 29px;
  font-weight: 800;
  line-height: 1.4;
}

.pain {
  display: flex;
  align-items: center;
  gap: 70px;
}

.pain-img {
  position: relative;
  width: 100%;
  min-width: 45%;
}

.pain-img img {
  border-radius: 8px;
  object-fit: cover;
}

.pain-img h2 {
  margin-bottom: 44px;
}

.pain-list-wrap {
  width: 100%;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transform: translateY(0);
  will-change: transform;
}

.pain-list li {
  font-size: clamp(18px, calc(14.67px + 0.69vw), 28px);
  font-weight: 600;
  color: #5a5d68;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 6px 5px rgba(0, 0, 0, 0);
  opacity: 0.8;
  width: fit-content;
  max-width: 100%;
  transition:
    opacity 0.5s ease,
    background-color 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease,
    color 0.5s ease;
}

.pain-list li.is-active {
font-size: clamp(22px, calc(17.33px + 0.97vw), 36px);
  color: #1a1a1f;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.pain-list b {
  color: var(--red);
  font-weight: 800;
}

/* ==================== SECTION 3: 3 solutions ==================== */
.solutions {
  background: var(--bg-soft);
}

.sol-head h2 {
  text-align: left;
  margin-bottom: 50px;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 6px;
}

.sol-col {
  padding: 0 34px;
  border-left: 1px solid var(--red);
}


.sol-col h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.sol-col p {
  font-size: 20px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 26px;
  min-height: 44px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==================== SECTION 4: stats dark ==================== */
.stats {
  background:
    linear-gradient(120deg, rgba(8, 10, 16, 0.94), rgba(8, 10, 16, 0.55) 55%, rgba(8, 10, 16, 0.25)),
    url('/images/front/v2026/main/stats-background.png') right center / cover no-repeat;
  color: #fff;
}

.stats-head h2 {
  margin-bottom: 44px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(20, 23, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 26px 24px;
}

.stat-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-card .src {
  font-size: 14px;
  color: #8b8fa0;
  margin-bottom: 18px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #c7cad3;
}

.bar-row .yr {
  /* width: 44px; */
  flex-shrink: 0;
}

.bar-row .bar {
  height: 16px;
  background: #8b8fa0;
  border-radius: 2px;
}

.bar-row.final .bar {
  background: var(--red);
}

.bar-row .val {
  width: 56px;
  text-align: right;
  flex-shrink: 0;
  font-weight: 700;
  color: #fff;
}

.bar-row.final .val {
  color: var(--red);
  font-size: 14px;
}

.stat-foot {
  margin-top: 14px;
  background: rgba(226, 35, 26, 0.34);
  color: #ff8b83;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 9px;
  border-radius: 4px;
}

.donut-wrap {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
}

.donut {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0% 94%, #3a3d4a 94% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #171a26;
}

.donut-label {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.donut-label b {
  font-size: 22px;
  color: var(--red);
  display: block;
}


/* ==================== SECTION 6: checklist ==================== */
.checklist {
  background: var(--bg-soft);
  text-align: center;
}

.checklist h2 {
  margin-bottom: 44px;
}

.check-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.checklist .conclude {
  margin-top: 36px;
  font-size: 30px;
  font-weight: 700;
}
.checklist .conclude .marker {
  /* 아래쪽에만 형광펜 */
  background: linear-gradient(
    to top,
    #f8cfe4 0%,
    #f8cfe4 45%,
    transparent 45%,
    transparent 100%
  );

  /* 줄바꿈돼도 줄마다 형광펜 적용 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* ==================== TABLET ==================== */
@media (max-width: 1240px) {
  .hero { min-height: auto; margin-top: 54px;}
  .hero-content { padding: 70px 0; max-width: 100%; }
  .hero-content h1 {font-size: 46px;}
  .hero-content h1 .big {font-size: 46px;}
  .pain-img{
    width: 50%;
  }
  .pain-img img {
     margin: 0 auto; }

  .sol-grid { grid-template-columns: 1fr; }

  .sol-col {
    padding: 30px 0;
    border-left: none;
    border-top: 1px solid var(--red);
  }
  .sol-col:first-child { border-top: none; }d

  .stats { padding: 70px 0; background-position: 75% center; }
  .stats-grid { grid-template-columns: 1fr; }



  .check-grid { grid-template-columns: 1fr 1fr; }
  .check-item[style] { grid-column: auto !important; }
}

/* ==================== MOBILE ==================== */
@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }
  /* hero */
  .hero {
    background-position: 70% center;
    max-height: 600px;
    background:
    linear-gradient(100deg, rgba(10, 13, 22, 0.9) 0%, rgba(12, 15, 26, 0.8) 38%, rgba(12, 15, 26, 0.5) 62%, rgba(12, 15, 26, 0.1) 100%),
    url('/images/front/v2026/main/hero.png') center / cover no-repeat;
  }
 
  .hero-content { padding: 52px 0; max-width: 100%; }
  .hero-content h1 { font-size: 30px; line-height: 1.4; }
  .hero-content h1 .big { font-size: 30px; }
  .hero-sub { font-size: 13.5px; }
  .hero-meta { font-size: 12px; gap: 8px; margin: 20px 0 18px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }

  .eyebrow-block h2 { font-size: 22px; }

  /* pain */
  .pain {
    gap: 28px;
    display: flex;
    flex-direction: column;
  }
  .pain-list-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  }
  .pain-list{
    width: 100%;
  }
  .pain-img{
    width: 100%;
  }
  .pain-img img { border-radius: 6px; }
  .pain-img h2 { margin-bottom: 26px; }
  .pain-list { gap: 14px; }
 

  /* solutions */
  .sol-head h2 { margin-bottom: 30px; }
  .sol-col { padding: 26px 0; }
  .sol-col h3 { font-size: 17px; }
  .sol-col p { font-size: 12.5px; min-height: auto; margin-bottom: 18px; }

  /* stats */
  .stats {  background-position: 80% center; }
  .stats-head h2 { margin-bottom: 28px; }
  .stats-grid { max-width: 100%; gap: 16px; }
  .stat-card { padding: 20px 18px; }
  .stat-card h4 { font-size: 18px; }
  .donut { width: 110px; height: 110px; }
  .donut::after { width: 74px; height: 74px; }
  .donut-label b { font-size: 19px; }



  /* checklist */
    .reveal.in-view { width: 100%; }

  .checklist h2 { margin-bottom: 28px; }
  .check-grid { grid-template-columns: 1fr; gap: 10px; }
  .checklist .conclude { font-size: 15.5px; margin-top: 26px; }

 
}

@media (max-width: 380px) {
  .hero-content h1 { font-size: 23px; }
  .hero-content h1 .big { font-size: 23px; }
}