:root {
  --bg: #f7f3ff;
  --purple: #7c5cbf;
  --purple-light: #a07de0;
  --pink: #e07aa0;
  --gold: #c9944a;
  --text: #1e1530;
  --text-mid: #5a4d72;
  --text-soft: #9488aa;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(200, 185, 230, 0.45);
  --card-shadow: 0 4px 24px rgba(120, 80, 180, 0.08), 0 1px 4px rgba(120, 80, 180, 0.06);
  --card-shadow-hover: 0 12px 40px rgba(120, 80, 180, 0.16), 0 2px 8px rgba(120, 80, 180, 0.08);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background ── */
.bg-gradient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(
    155deg,
    #ede5ff 0%,
    #f7f3ff 35%,
    #fff0f6 65%,
    #fef6e8 100%
  );
}

.bg-orbs {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.orb-1 {
  width: 500px; height: 500px;
  top: -140px; left: -100px;
  background: radial-gradient(circle, #c4a8f0 0%, #a97de0 60%, transparent 100%);
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 420px; height: 420px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, #f0a8c8 0%, #e07aaa 60%, transparent 100%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 300px; height: 300px;
  top: 50%; left: 60%;
  background: radial-gradient(circle, #ffd9a0 0%, #f0b86e 60%, transparent 100%);
  opacity: 0.28;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.06); }
}

/* ── Layout ── */
.container {
  position: relative; z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  text-align: center;
  padding: 4.5rem 0 3rem;
}

.logo-mark {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  display: block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(160, 100, 220, 0.3));
  animation: floatIcon 4s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

h1 {
  font-family: 'Noto Serif KR', 'Noto Serif', serif;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.25;
}

.header-sub {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: 0.03em;
}

/* ── Service list ── */
main {
  flex: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ── Card ── */
.service-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(180, 150, 220, 0.6);
}

.service-card:active {
  transform: translateY(-1px);
}

.card-left {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(180, 140, 240, 0.15), rgba(230, 120, 160, 0.12));
  border: 1px solid rgba(180, 140, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-emoji {
  font-size: 1.7rem;
  line-height: 1;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.card-chevron {
  flex-shrink: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-soft);
  font-weight: 300;
  transition: transform 0.22s ease, color 0.22s ease;
}

.service-card:hover .card-chevron {
  transform: translateX(4px);
  color: var(--purple-light);
}

/* ── Footer ── */
footer {
  padding-top: 2.5rem;
  text-align: center;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.03em;
}

/* ── Responsive ── */
@media (max-width: 420px) {
  header { padding: 3.5rem 0 2.5rem; }
  .service-card { padding: 1.2rem 1.25rem; }
  .card-left { width: 46px; height: 46px; border-radius: 12px; }
  .card-emoji { font-size: 1.5rem; }
}
