/* ==========================================================================
   심플웨이 소개 · 제품 상세페이지 (sw-)
   style.css 토큰 위에 얹는다. 색 = 직경: 6 노랑 · 7 초록 · 8 보라 · 9 파랑 · 10 하늘
   ========================================================================== */
:root { --c6: #f2c230; --c7: #2fb35a; --c8: #9b4fd6; --c9: #2f6fe0; --c10: #6fc3e8; }

/* ---------- 히어로 ---------- */
.sw-hero { position: relative; overflow: hidden; padding-block: 56px 96px; background: radial-gradient(70% 80% at 85% 20%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 70%), var(--paper); isolation: isolate; }
.sw-hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: conic-gradient(from 90deg, var(--c6), var(--c7), var(--c8), var(--c9), var(--c10), var(--c6)); opacity: .09; filter: blur(40px); z-index: -1; animation: sw-spin 30s linear infinite; }
@keyframes sw-spin { to { transform: rotate(360deg); } }
.sw-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sw-hero__text { display: grid; gap: 18px; justify-items: start; }
.sw-hero__text > * { animation: sw-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.sw-hero__text > :nth-child(2) { animation-delay: .08s; } .sw-hero__text > :nth-child(3) { animation-delay: .16s; } .sw-hero__text > :nth-child(4) { animation-delay: .24s; } .sw-hero__text > :nth-child(5) { animation-delay: .32s; }
@keyframes sw-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.sw-eyebrow { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--blue); }
.sw-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.16; letter-spacing: -0.025em; font-weight: 800; }
.sw-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); max-width: 34em; }
.sw-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; color: var(--ink); }
.sw-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
/* 제품 사진 무대: 사진 여러 장이 떠 있다 */
.sw-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.sw-stage__plate { position: absolute; inset: 12% 8% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffffff, var(--mist-2) 70%); box-shadow: inset 0 -20px 60px rgba(22,35,58,.06); }
.sw-stage__ring { position: absolute; left: 50%; bottom: 8%; width: 70%; height: 12%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(22,35,58,.16), transparent); filter: blur(6px); }
.sw-stage img { position: absolute; object-fit: contain; mix-blend-mode: multiply; animation: sw-float 5s ease-in-out infinite; }
.sw-stage img:nth-of-type(1) { left: 6%; top: 10%; width: 52%; }
.sw-stage img:nth-of-type(2) { right: 4%; top: 24%; width: 46%; animation-delay: -1.8s; }
.sw-stage img:nth-of-type(3) { left: 30%; bottom: 6%; width: 38%; animation-delay: -3.2s; }
.sw-stage--single img:nth-of-type(1) { left: 8%; top: 8%; width: 84%; }
@keyframes sw-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.sw-stage__dots { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 10px; }
.sw-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); animation: sw-pop 2.5s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes sw-pop { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.35); } }
@media (max-width: 900px) { .sw-hero__grid { grid-template-columns: 1fr; gap: 28px; } .sw-stage { max-width: 420px; } }

/* ---------- 세 단계 카드 ---------- */
.sw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; text-align: left; counter-reset: sw; }
.sw-step { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; color: inherit; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.dp--soft .sw-step { border-color: transparent; }
a.sw-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); color: inherit; }
.sw-step__img { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fff, var(--mist)); padding: 18px; overflow: hidden; }
.sw-step__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.sw-step:hover .sw-step__img img { transform: scale(1.06); }
.sw-step__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.sw-step__num { font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--blue); }
.sw-step__title { font-size: 1.3rem; }
.sw-step__text { color: var(--body); font-size: .98rem; }
.sw-step__more { color: var(--blue); font-weight: 600; font-size: .92rem; margin-top: 4px; }
@media (max-width: 860px) { .sw-steps { grid-template-columns: 1fr; } }

/* ---------- 색 = 직경 밴드 ---------- */
.sw-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 760px; }
.sw-band__item { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.sw-band__swatch { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 40%, transparent); }
.sw-band__num { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.sw-band__name { font-size: .82rem; color: var(--muted); font-weight: 600; }
.js-motion .sw-band:not(.is-visible) .sw-band__item { opacity: 0; transform: translateY(20px) scale(.9); }
.sw-band__item { transition: opacity .6s, transform .6s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--i) * 90ms); }
.sw-note { font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) { .sw-band { gap: 6px; } .sw-band__item { padding: 12px 4px; } .sw-band__swatch { width: 32px; height: 32px; } .sw-band__num { font-size: 1.2rem; } .sw-band__name { font-size: .7rem; } }

/* ---------- 구성품 카드 ---------- */
.sw-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; width: 100%; text-align: left; }
.sw-part { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.dp--soft .sw-part { border-color: transparent; }
.sw-part:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sw-part__img { aspect-ratio: 1 / 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.sw-part__img img { width: 100%; height: 100%; object-fit: contain; }
.sw-part__body { display: grid; gap: 6px; align-content: start; padding: 16px 18px 18px; }
.sw-part__name { font-size: 1.05rem; }
.sw-part__qty { font-family: var(--mono); font-size: .78rem; color: var(--blue); font-weight: 600; }
.sw-part__text { font-size: .9rem; color: var(--body); }

/* ---------- 상세 행 (이미지 · 설명 번갈아) ---------- */
.sw-rows { display: grid; gap: 56px; width: 100%; text-align: left; }
.sw-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.sw-row:nth-child(even) .sw-row__media { order: 2; }
.sw-row__media { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sw-row__media img { width: 100%; height: auto; display: block; }
.sw-row__text { display: grid; gap: 12px; }
.sw-row__kicker { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--blue); letter-spacing: .06em; }
.sw-row__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; }
.sw-row__lead { color: var(--body); }
.sw-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sw-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--body); font-size: .98rem; }
.sw-list li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fe0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .sw-row { grid-template-columns: 1fr; gap: 20px; } .sw-row:nth-child(even) .sw-row__media { order: 0; } }

/* ---------- 규격 · 조건 표 ---------- */
.sw-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.sw-table th, .sw-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.sw-table tr:last-child th, .sw-table tr:last-child td { border-bottom: 0; }
.sw-table th { width: 30%; background: var(--mist); color: var(--ink); font-weight: 600; }
.sw-swatches { display: inline-flex; gap: 6px; vertical-align: middle; margin-left: 6px; }
.sw-swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); display: inline-block; }

/* ---------- 인증 카드 ---------- */
.sw-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; width: 100%; text-align: left; }
.sw-cert { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.dp--soft .sw-cert { border-color: transparent; }
.sw-cert__badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, #0f766e 12%, transparent); color: #0f766e; }
.sw-cert__badge svg { width: 24px; height: 24px; }
.sw-cert b { display: block; color: var(--ink); font-size: 1rem; }
.sw-cert__no { display: block; font-weight: 700; letter-spacing: -0.01em; color: #0f766e; margin-top: 2px; }
.sw-cert__meta { display: block; font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------- 사용 현장 ---------- */
.sw-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; text-align: left; }
.sw-role { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.dp--soft .sw-role { border-color: transparent; }
.sw-role__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.sw-role__icon svg { width: 26px; height: 26px; }
.sw-role h3 { font-size: 1.12rem; }
.sw-role p { font-size: .95rem; color: var(--body); }
.sw-role__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-role__tags span { font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: var(--mist); color: var(--body); font-weight: 600; }
.sw-voices { width: 100%; display: grid; gap: 12px; justify-items: center; padding: 30px 24px; border-radius: 20px; border: 1.5px dashed var(--line-2); background: var(--paper); text-align: center; }
.sw-voices__mark { font-size: 3rem; line-height: .6; height: 26px; font-family: Georgia, serif; color: var(--line-2); }
.sw-voices p { color: var(--muted); font-size: .95rem; max-width: 40em; }
@media (max-width: 860px) { .sw-roles { grid-template-columns: 1fr; } }

/* ---------- 영상 ---------- */
.sw-video { width: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; position: relative; }
.sw-video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.sw-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s; }
.sw-video button:hover img { opacity: 1; transform: scale(1.02); }
.sw-video__play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--blue); display: grid; place-items: center; animation: sw-pulse 2s infinite; }
.sw-video__play svg { width: 36px; height: 36px; margin-left: 5px; }
@keyframes sw-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70% { box-shadow: 0 0 0 24px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.sw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 다음 제품 이동 ---------- */
.sw-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; width: 100%; text-align: left; }
.sw-next a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: inherit; transition: border-color .2s, transform .2s; }
.sw-next a:hover { border-color: var(--blue); transform: translateY(-3px); color: inherit; }
.sw-next img { width: 72px; height: 72px; object-fit: contain; padding: 4px; background: #fff; border-radius: 12px; }
.sw-next b { color: var(--ink); display: block; }
.sw-next span { font-size: .86rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .sw-hero::before, .sw-stage img, .sw-dot, .sw-video__play { animation: none !important; }
}
