/* =========================================
   RESET & GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard","Noto Sans KR",sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(800px 500px at 80% 20%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(180deg, #0b1d3a 0%, #071429 100%);
  color: #fff;
  line-height: 1.6;
}

/* =========================================
   HEADER
========================================= */
.header {
  width: 100%;
  background: #0b1d3a;
  position: fixed;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  position: relative;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

/* °¡¿îµ¥ ¸Þ´º (¸ð¹ÙÀÏ¿¡¼­µµ Ç¥½Ã) */
.header-center {
  display: flex;
  gap: 16px;
}

.center-link {
  color: #dbe6ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.center-link::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:100%;
  height:2px;
  background:#5da9ff;
  transform:scaleX(0);
  transition:.25s;
}

.center-link:hover::after {
  transform:scaleX(1);
}

/* ¿ìÃø ¹®ÀÇ ¹öÆ° (¸ð¹ÙÀÏ À¯Áö) */
.header-actions {
  display: flex;
  gap: 8px;
}

.header-btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}

.header-btn.naver {
  color: #2db400;
  background: rgba(255,255,255,0.08);
}

.header-btn.kakao {
  color: #3c1e1e;
  background: rgba(255,235,0,0.9);
}

/* =========================================
   HERO
========================================= */
.hero img {
  width: 92%;
  max-width: 1400px;
  display: block;
  margin: 60px auto 30px; /* ?? ¾Æ·¡ °£°Ý Ãà¼Ò */
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* =========================================
   MOBILE CTA BUTTONS
========================================= */
.mobile-btn-box {
  width: 100%;
  display: flex;
  gap: 8px;
  padding: 12px 14px; /* ?? À§¾Æ·¡ °£°Ý Ãà¼Ò */
}

.mobile-btn-box a {
  flex: 1;
  text-align: center;
  background: linear-gradient(135deg,#ff8ad4,#ff3fa6,#ff54b0);
  padding: 12px 6px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* =========================================
   IMAGE SLIDER
========================================= */
.slider-section {
  margin: 50px 0; /* ?? ½½¶óÀÌµå À§¾Æ·¡ °£°Ý Ãà¼Ò */
}

.slider-wrap {
  position: relative;
  width: 94%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.slider-track {
  display: flex;
  transition: transform .6s ease;
}

.slide {
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  display: block;
}

/* arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  font-size: 28px;
  background: rgba(255,255,255,0.9);
  color: #0b1d3a;
  cursor: pointer;
  z-index: 10;
}

.slider-arrow.left { left: 12px; }
.slider-arrow.right { right: 12px; }

/* =========================================
   BUSINESS CARD
========================================= */
.business-card {
  margin: 60px auto 40px; /* ?? °£°Ý Ãà¼Ò */
  text-align: center;
}

.business-card img {
  width: 420px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
}



/* =========================================
   FOOTER
========================================= */
footer {
  padding: 16px;
  text-align: center;
  background: #071429;
  color: #bfcbe6;
  font-size: 13px;
}

/* ===================== FLOATING BUTTON GROUP (ICON VERSION) ===================== */
.floating-group {
  position: fixed;
  right: 18px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}

/* ¾ÆÀÌÄÜ ÀÌ¹ÌÁö °øÅë */
.floating-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ³×ÀÌ¹ö ºí·Î±× */
.floating-btn.blog {
  background: #2db400;
}

/* À¯Æ©ºê */
.floating-btn.youtube {
  background: #ff0000;
}

/* ÀüÈ­ */
.floating-btn.call {
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg,#ff5f9e,#ff2f83);
}

/* ¸ð¹ÙÀÏ */
@media (max-width: 768px) {
  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn img {
    width: 22px;
    height: 22px;
  }
}

/* ===================== MOBILE FLOATING OPTIMIZATION ===================== */
@media (max-width: 768px) {

  .floating-group {
    right: 12px;          /* È­¸é °¡ÀåÀÚ¸® ¿©¹é ÁÙÀÓ */
    bottom: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 46px;          /* ¸ð¹ÙÀÏ¿¡ ¸Â°Ô Ãà¼Ò */
    height: 46px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  }

  .floating-btn img {
    width: 22px;
    height: 22px;
  }

  .floating-btn.call {
    font-size: 22px;
  }
}

/* ===================== PC ONLY CTA BUTTON WIDTH FIX ===================== */
@media (min-width: 769px) {

  .mobile-btn-box {
    justify-content: center;   /* °¡¿îµ¥ Á¤·Ä */
    gap: 20px;
    padding: 20px 0 32px;
  }

  .mobile-btn-box a {
    flex: none;                /* PC¿¡¼­¸¸ È®Àå ¹æÁö */
    width: 260px;              /* ? ¿©±â¼­ °¡·Î Å©±â Á¶Àý */
    padding: 14px 0;
    font-size: 15px;
  }

}

/* ===================== PC CTA BUTTON PREMIUM EFFECT ===================== */
@media (min-width: 769px) {

  .mobile-btn-box a {
    position: relative;
    overflow: hidden;
    box-shadow:
      0 0 0 rgba(255,100,170,0),
      0 8px 22px rgba(0,0,0,0.35);
    transition:
      transform .35s ease,
      box-shadow .35s ease;
  }

  /* ? ±âº» ÀºÀºÇÑ ³×¿Â */
  .mobile-btn-box a::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0.0),
      rgba(255,255,255,0.35),
      rgba(255,255,255,0.0)
    );
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
  }

  /* ?? ¶óÀÌÆ® ½ºÀ¬ */
  .mobile-btn-box a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0),
      rgba(255,255,255,0.75),
      rgba(255,255,255,0)
    );
    transform: skewX(-20deg);
    transition: left .75s ease;
    pointer-events: none;
  }

  /* ?? HOVER »óÅÂ */
  .mobile-btn-box a:hover {
    transform: translateY(-6px);
    box-shadow:
      0 0 22px rgba(255,100,170,0.9),
      0 16px 38px rgba(0,0,0,0.45);
  }

  .mobile-btn-box a:hover::before {
    opacity: 1;
  }

  .mobile-btn-box a:hover::after {
    left: 140%;
  }

}


/* ===================== MOBILE CTA SPARKLE EFFECT ===================== */
@media (max-width: 768px) {

  .mobile-btn-box a {
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: mobilePulse 2.8s infinite ease-in-out;
  }

  /* ?? ¹ÝÂ¦ÀÌ´Â ÆÄÆ¼Å¬ ·¹ÀÌ¾î */
  .mobile-btn-box a::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.45), transparent 40%),
      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.35), transparent 40%),
      radial-gradient(circle at 50% 80%, rgba(255,255,255,0.25), transparent 45%);
    opacity: 0.6;
    animation: sparkleMove 4s infinite linear;
    z-index: -1;
  }

  /* ?? ³×¿Â ¿þÀÌºê */
  .mobile-btn-box a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0),
      rgba(255,255,255,0.45),
      rgba(255,255,255,0)
    );
    opacity: 0;
    animation: neonWave 2.5s infinite;
    z-index: -1;
  }

}

/* ===================== ANIMATIONS ===================== */
@keyframes sparkleMove {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes neonWave {
  0%   { opacity: 0; }
  40%  { opacity: 0.8; }
  60%  { opacity: 0.8; }
  100% { opacity: 0; }
}

@keyframes mobilePulse {
  0% {
    box-shadow: 0 0 0 rgba(255,100,170,0);
  }
  50% {
    box-shadow: 0 0 26px rgba(255,100,170,0.9);
  }
  100% {
    box-shadow: 0 0 0 rgba(255,100,170,0);
  }
}
