/* SNOVAHA 메인 홈 — 감성 리뉴얼 (각도법 디자인 언어 통일) */
:root {
  --bg: #fdfcff;
  --surface: #ffffff;
  --text-primary: #191f28;
  --text-secondary: #4e5968;
  --text-tertiary: #8b95a1;
  --primary: #3182f6;
  --primary-hover: #1b64da;
  --pink: #f26d9c;
  --pink-soft: #ffe4ee;
  --blue: #4d8df6;
  --blue-soft: #e3eeff;
  --gold: #f5b942;
  --gold-soft: #fff3d6;
  --mint-soft: #e2f6ec;
  --purple-soft: #efe9ff;
  --border: #ecebf3;
  --shadow-sm: 0 2px 4px rgba(25, 31, 40, 0.04);
  --shadow-md: 0 6px 16px rgba(25, 31, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(25, 31, 40, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; }

/* ───────── Nav ───────── */
.global-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(253, 252, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(236, 235, 243, 0.7);
  z-index: 100;
}
.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--text-primary); }
.logo:hover { opacity: 0.75; }
.nav-links { display: flex; gap: 24px; }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }

/* ───────── Hero ───────── */
.home-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(242, 109, 156, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 18%, rgba(77, 141, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(245, 185, 66, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #fbf8ff 0%, #fdfcff 100%);
}
.home-hero-inner { position: relative; z-index: 2; max-width: 680px; }
.brand {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #191f28 10%, var(--blue) 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease both;
}
.tagline {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.tagline-sub {
  font-size: 15.5px;
  color: var(--text-tertiary);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.25s both;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.35s both; }

.star {
  position: absolute;
  color: var(--gold);
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.85; transform: scale(1.1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  transition: var(--transition);
}
.btn.primary {
  background: linear-gradient(120deg, var(--pink) 0%, var(--blue) 120%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 109, 156, 0.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242, 109, 156, 0.45); }
.btn.outline {
  background: var(--surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn.outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ───────── Sections ───────── */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 44px;
}

/* 스크롤 리빌 */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ───────── Services ───────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--primary));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  background: var(--card-soft, var(--blue-soft));
}
.service-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.service-card p { font-size: 14px; color: var(--text-secondary); }
.service-card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--card-accent, var(--primary));
}
.service-card.c-pink { --card-accent: var(--pink); --card-soft: var(--pink-soft); }
.service-card.c-blue { --card-accent: var(--blue); --card-soft: var(--blue-soft); }
.service-card.c-gold { --card-accent: #d99a17; --card-soft: var(--gold-soft); }
.service-card.c-purple { --card-accent: #8b6ff2; --card-soft: var(--purple-soft); }
.badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 11px;
  font-weight: 800;
  color: #d99a17;
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ───────── 각도법 하이라이트 배너 ───────── */
.feature-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 20%, #2a3560 0%, #141a38 65%);
  color: #fff;
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
}
.feature-banner .fb-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: #ffd166;
  letter-spacing: 0.04em;
}
.feature-banner h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.feature-banner p { font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.feature-banner .fb-privacy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ───────── 혜택 티저 ───────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.benefit-icon { font-size: 26px; margin-bottom: 10px; }
.benefit-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.benefit-card .amount { font-size: 19px; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.benefit-card .benefit-note { font-size: 12px; color: var(--text-tertiary); }
.section-more { text-align: center; margin-top: 32px; }

/* ───────── Footer ───────── */
.site-footer {
  padding: 44px 24px 60px;
  text-align: center;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
}
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 13.5px; }
.footer-links a:hover { color: var(--primary); }

/* ───────── 반응형 ───────── */
@media (min-width: 768px) {
  .brand { font-size: 84px; }
  .tagline { font-size: 26px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-banner { padding: 64px 56px; }
  .feature-banner h3 { font-size: 34px; }
}
@media (max-width: 480px) {
  .brand { font-size: 46px; }
  .tagline { font-size: 18px; }
  .nav-links { gap: 14px; }
  .nav-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
