/*
Theme Name: BlueskySoft Download Center
Theme URI: http://xn--wh1bz0l14lmwn.kr/
Author: 푸른하늘소프트
Author URI: http://xn--wh1bz0l14lmwn.kr/
Description: 푸른하늘소프트 다운로드 전용 모던 테마
Version: 2.0
License: Proprietary
Text Domain: blueskysoft
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f4f8;
  color: #1a202c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
  stroke: none;
}

.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.3px;
}

.logo-text .accent {
  color: #2563eb;
}

.nav-tag {
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* =============================================
   HERO SECTION
   ============================================= */
.site-hero {
  background: #ffffff;
  padding: 4rem 2.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #eff6ff;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid #bfdbfe;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  display: inline-block;
}

.site-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.site-hero p {
  font-size: 15px;
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.site-main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem 2rem;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
}

/* =============================================
   PRIMARY DOWNLOAD CARDS
   ============================================= */
.primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 2rem;
}

.dl-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.dl-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.dl-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: #2563eb;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-body {
  flex: 1;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  align-self: flex-start;
  font-family: inherit;
}

.dl-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.dl-btn svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =============================================
   REMOTE SUPPORT BANNER
   ============================================= */
.remote-banner {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.banner-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.banner-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.banner-btn {
  background: #ffffff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
  font-family: inherit;
}

.banner-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.banner-btn svg {
  width: 14px;
  height: 14px;
  stroke: #1d4ed8;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =============================================
   UTILITY CARDS
   ============================================= */
.util-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2rem;
}

.util-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.util-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.util-icon {
  width: 36px;
  height: 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.util-icon svg {
  width: 18px;
  height: 18px;
  stroke: #475569;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.util-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.util-meta {
  font-size: 12px;
  color: #94a3b8;
  flex: 1;
}

.util-link {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s;
  text-decoration: none;
}

.util-link:hover {
  color: #1d4ed8;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 2.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-company {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.footer-info {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.9;
}

.footer-info .sep {
  margin: 0 6px;
  color: #e2e8f0;
}

.footer-copy {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .site-nav {
    padding: 0 1.25rem;
  }

  .nav-tag {
    display: none;
  }

  .site-hero {
    padding: 2.5rem 1.25rem 2rem;
  }

  .site-hero h1 {
    font-size: 1.5rem;
  }

  .site-main {
    padding: 1.75rem 1.25rem;
  }

  .primary-grid {
    grid-template-columns: 1fr;
  }

  .util-grid {
    grid-template-columns: 1fr;
  }

  .remote-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .banner-btn {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    padding: 1.5rem 1.25rem;
  }
}
