:root {
  --blue: #3182f6;
  --blue-deep: #1b64da;
  --blue-soft: #e8f3ff;
  --tg: #229ed9;
  --tg-dark: #1a8bc0;
  --ink: #191f28;
  --ink-2: #333d4b;
  --muted: #6b7684;
  --line: #e5e8eb;
  --bg: #ffffff;
  --bg-tint: #f2f8ff;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

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

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

.wrap {
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: min(960px, calc(100% - 32px));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(49, 130, 246, 0.28);
}

.logo-text {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 10px 14px;
  font-size: 0.88rem;
  border-radius: 999px;
}

.btn-block {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
}

.btn-block span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.btn-block strong {
  font-size: 1.05rem;
}

.btn-block small {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
}

.tg-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.sms-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--blue);
}

.btn-telegram {
  color: #fff;
  background: linear-gradient(180deg, #34b7f1, #229ed9);
  box-shadow: 0 8px 20px rgba(34, 158, 217, 0.35);
  animation: pulse-tg 2s ease-in-out infinite;
}

@keyframes pulse-tg {
  0%, 100% { box-shadow: 0 8px 20px rgba(34, 158, 217, 0.35); }
  50% { box-shadow: 0 8px 28px rgba(34, 158, 217, 0.55); }
}

.btn-inquiry {
  color: var(--blue-deep);
  background: #fff;
  border: 2px solid var(--blue);
}

/* Hero — 참고사이트형: 배경 이미지 + 좌측 흰 카드 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  text-align: left;
  background: #e8f3ff;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
}

.hero-card {
  max-width: 640px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(25, 31, 40, 0.12);
  backdrop-filter: blur(6px);
}

.hero-headline {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.hero-headline strong {
  color: var(--blue-deep);
}

.hero-sub {
  margin: 0 0 28px;
  color: #4e5968;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.btn-hero {
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(25, 31, 40, 0.1);
}

.btn-hero span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.btn-hero strong {
  font-size: 1rem;
}

.btn-hero small {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
}

.btn-hero .tg-icon,
.btn-hero .sms-ico {
  width: 28px;
  height: 28px;
}

.btn-inquiry.btn-hero {
  color: #fff;
  background: var(--blue);
  border: 0;
  box-shadow: 0 8px 20px rgba(49, 130, 246, 0.35);
}

.btn-inquiry.btn-hero .sms-ico {
  color: #fff;
}

.cta-stack {
  display: grid;
  gap: 10px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Why */
.why-grid {
  display: grid;
  gap: 16px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
}

.feature-icon {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 22px;
  object-fit: contain;
  background: #f7faff;
  display: block;
  image-rendering: auto;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 18px;
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.step-icon {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 20px;
  object-fit: contain;
  display: block;
  background: #f7faff;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Gifts */
.gift-grid {
  display: grid;
  gap: 14px;
}

.gift {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}

.gift-icon {
  width: 140px;
  height: 140px;
  margin: 18px auto 0;
  border-radius: 22px;
  object-fit: contain;
  display: block;
  background: #f7faff;
}

.gift h3 {
  margin: 14px 0 6px;
  font-size: 1.1rem;
  padding: 0 14px;
}

.gift p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0 14px;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.review {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  font-weight: 650;
  color: var(--ink);
  font-size: 0.98rem;
}

.review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.cta-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 18px;
  box-shadow: 0 12px 28px rgba(49, 130, 246, 0.08);
}

.cta-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border-radius: 22px;
  object-fit: contain;
  display: block;
  background: #f7faff;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.cta-banner > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 36px 0 110px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--tg);
  font-weight: 700;
}

.copyright {
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
}

/* Dock */
.dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 8px;
  width: min(420px, calc(100% - 20px));
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(25, 31, 40, 0.14);
}

.dock .btn {
  flex: 1;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 0.92rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

/* Desktop — 좌 텍스트 / 우 비주얼 */
@media (min-width: 900px) {
  .wrap {
    width: min(900px, calc(100% - 48px));
  }

  .hero {
    padding: 96px 0 100px;
    min-height: 560px;
    display: flex;
    align-items: center;
  }

  .hero-photo {
    object-position: right center;
  }

  .hero-inner {
    width: min(1120px, calc(100% - 48px));
  }

  .hero-card {
    padding: 40px 40px;
  }

  .why-grid,
  .steps,
  .gift-grid,
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-banner {
    padding: 40px 48px;
  }

  .cta-banner .cta-stack {
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (min-width: 560px) {
  .hero-cta {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero-photo {
    object-position: 70% center;
    opacity: 0.55;
  }

  .hero-card {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
