/* =============================================
   꼬르륵플러스 download.css
   피그마 정확 반영: #f04e06 bg / 흰 버튼 / 흰 아치
============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f04e06;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== 전체 레이아웃 ===== */
.dl-wrap {
  display: flex;
  min-height: 100vh;
}

/* ===== 왼쪽 (오렌지 배경) ===== */
.dl-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 40px 60px 13vw;
  position: relative;
  z-index: 2;
}

.dl-content {
  width: 100%;
  max-width: 630px;
}

/* ===== 로고 ===== */
.dl-logo {
  display: block;
  height: 130px;
  width: auto;
  margin-bottom: 44px;
}

/* ===== 섹션 묶음 ===== */
.dl-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 28px;
}

.dl-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 섹션 레이블 */
.dl-label {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* ===== 버튼 행 레이아웃 ===== */
.dl-row-2 {
  display: flex;
  gap: 19px;
}
.dl-row-3 {
  display: flex;
  gap: 16px;
}
.dl-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 19px;
}

/* ===== 다운로드 버튼 (흰 카드) ===== */
.dl-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 17px;
  height: 70px;
  background: #ffffff;
  border: 2px solid #ffc6ad;
  border-radius: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.dl-btn:active { transform: none; box-shadow: none; }

.dl-btn-name {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  flex: 1;
  line-height: 1;
  white-space: nowrap;
}

/* 2줄 버튼 (기타프로그램) */
.dl-btn-2l {
  padding: 14px 17px;
  height: 70px;
  align-items: center;
}
.dl-btn-2l .dl-btn-name {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
  white-space: normal;
}

/* 다운로드 아이콘 */
.dl-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

/* ===== CTA 배너 (버튼 아님 — 디자인 요소) ===== */
.dl-cta {
  background: #ffc6ad;
  border-radius: 3px;
  padding: 9px 20px;
  font-size: 24px;
  font-weight: 900;
  color: #ff5500;
  letter-spacing: 0.54px;
  text-align: center;
  line-height: 1.6;
  user-select: none;
  pointer-events: none;
}

/* ===== 오른쪽 (download.svg 단일 이미지) ===== */
.dl-right {
  display: none;
  flex-shrink: 0;
  width: 50%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .dl-right { display: block; }
}

/* 아치 + 캐릭터 + 십자 포함 PNG (2060×2036) */
.dl-right-img {
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 94%;
  width: auto;
  max-height: 100vh;
  pointer-events: none;
}

/* ===== 모바일 CTA 아래 이미지 ===== */
.dl-mob-img {
  display: block;
  margin-top: 24px;
  width: 100%;
}
.dl-mob-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
/* 데스크탑에서는 숨김 */
@media (min-width: 1024px) {
  .dl-mob-img { display: none; }
}

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .dl-left { padding-left: 8vw; }
  .dl-logo { height: 100px; margin-bottom: 32px; }
  .dl-label { font-size: 20px; }
  .dl-btn-name { font-size: 15px; }
  .dl-btn-2l .dl-btn-name { font-size: 13px; }
  .dl-cta { font-size: 20px; }
}

@media (max-width: 1024px) {
  .dl-right { display: none; }
  .dl-left { padding: 40px 24px 40px 8vw; align-items: flex-start; }
  .dl-logo { height: 80px; }
}

@media (max-width: 768px) {
  .dl-left { padding: 36px 20px; }
  .dl-logo { height: 64px; margin-bottom: 28px; }
  .dl-label { font-size: 16px; }
  .dl-row-2 { flex-direction: column; gap: 10px; }
  .dl-row-3 { flex-direction: column; gap: 10px; }
  .dl-btn { height: 56px; border-radius: 12px; }
  .dl-btn-name { font-size: 15px; }
  .dl-btn-2l { height: 60px; }
  .dl-btn-2l .dl-btn-name { font-size: 14px; }
  .dl-cta { font-size: 16px; padding: 9px 14px; }
}

/* ===== 페이드인 ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fi { opacity: 0; animation: fadeUp 0.5s ease forwards; }
.fi-1 { animation-delay: 0.05s; }
.fi-2 { animation-delay: 0.15s; }
.fi-3 { animation-delay: 0.25s; }
.fi-4 { animation-delay: 0.36s; }
.fi-5 { animation-delay: 0.47s; }
