/* ─── 키트 · 콘텐츠 페이지를 홈(index.html)과 같은 옷으로 — 각 페이지 <style> 뒤에 붙인다 ─── */
/* 값은 index.html 에서 그대로 가져옴. 모양만 바꾸고 구조는 그대로 */

body { background: #0a0a0a; font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; overflow-x: hidden; }
body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
body > *:not(.site-flow):not(.topnav):not(.pop):not(.modal-overlay) { position: relative; z-index: 1; }

/* 흐르는 배경 */
.site-flow { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.site-flow i { position: absolute; border-radius: 50%; filter: blur(90px); animation: siteDrift 22s ease-in-out infinite alternate; }
.site-flow i:nth-child(1) { width: 60vw; height: 32vw; left: -12vw; top: 4vh; background: radial-gradient(closest-side, rgba(213,255,64,0.20), transparent); }
.site-flow i:nth-child(2) { width: 70vw; height: 42vw; right: -22vw; top: 38vh; background: radial-gradient(closest-side, rgba(40,95,20,0.55), transparent); animation-duration: 28s; animation-delay: -9s; }
.site-flow i:nth-child(3) { width: 46vw; height: 26vw; left: 24vw; bottom: -12vh; background: radial-gradient(closest-side, rgba(110,190,80,0.18), transparent); animation-duration: 32s; animation-delay: -16s; }
.site-flow b { position: absolute; left: -20vw; top: 32vh; width: 140vw; height: 20vh; border-radius: 50%;
    background: linear-gradient(90deg, transparent 5%, rgba(213,255,64,0.10) 35%, rgba(150,230,120,0.08) 55%, transparent 90%);
    filter: blur(30px); transform: rotate(-14deg); animation: siteRibbon 18s ease-in-out infinite alternate; }
@keyframes siteDrift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(5vw,-3vh) scale(1.12); } 100% { transform: translate(-4vw,4vh) scale(0.95); } }
@keyframes siteRibbon { 0% { transform: translateY(0) rotate(-14deg) skewX(0deg); } 100% { transform: translateY(-8vh) rotate(-6deg) skewX(-12deg); } }
@media (prefers-reduced-motion: reduce) { .site-flow i, .site-flow b { animation: none; } }

/* NAV — 홈과 같음 */
.topnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 64px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    background: rgba(15,15,15,0.72);
    backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topnav-brand {
    font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: 700;
    color: #F2F2F2; text-decoration: none; letter-spacing: 0.01em;
    display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.topnav-brand .mark { width: 7px; height: 7px; border-radius: 50%; background: #D5FF40; box-shadow: 0 0 10px rgba(213,255,64,0.4); }
.topnav-nav { display: flex; align-items: center; gap: 4px; }
.topnav-link { display: inline-block; font-size: 13px; color: #8C8C8C; text-decoration: none; padding: 7px 13px; border-radius: 7px; transition: color 0.15s; white-space: nowrap; }
.topnav-link:hover, .topnav-link.active { color: #F2F2F2; }
@media (max-width: 560px) { .topnav { padding: 0 16px; } .topnav-link { display: inline-block; padding: 7px 8px; } }

/* 유리 카드 — 홈 카드와 같음 */
.glass, .eb-card, .part-card, .for-who, .benefit-card, .bottom-cta, .card, .refund-inner {
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012) 55%), rgba(12,14,10,0.55);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.part-card:hover, .benefit-card:hover, .card:hover { border-color: rgba(213,255,64,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 36px rgba(213,255,64,0.08); }
.eb-card, .bottom-cta { border-color: rgba(213,255,64,0.35); }

/* 글자 — 홈과 같음 */
.sec-label { font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: #D5FF40; }
.sec-title, .page-title, .hero-title, .bottom-cta-title {
    font-family: 'Space Grotesk', 'Noto Sans KR', sans-serif; font-weight: 700; letter-spacing: -0.03em; color: #fff; word-break: keep-all;
}
.hero-title .accent { color: #D5FF40; text-shadow: 0 0 44px rgba(213,255,64,0.3); }

/* 이메일 칸 · 버튼 — 홈 히어로 폼과 같음 */
.hero-form { display: flex; gap: 8px; max-width: 470px; margin: 0 auto 14px; }
.hero-form-input, .reserve-input {
    flex: 1; min-width: 0; background: #111; border: 1px solid rgba(213,255,64,0.1); border-radius: 999px;
    padding: 14px 22px; font-family: inherit; font-size: 14px; color: #e8e8e8; outline: none; transition: border-color 0.2s;
}
.hero-form-input::placeholder { color: #2e2e2e; }
.hero-form-input:focus { border-color: rgba(213,255,64,0.32); }
.hero-form-btn {
    flex-shrink: 0; background: #D5FF40; color: #0F0F0F; border: 0; border-radius: 999px;
    padding: 14px 26px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block;
    box-shadow: 0 0 0 1px rgba(213,255,64,0.6), 0 0 22px rgba(213,255,64,0.38); transition: box-shadow 0.2s, transform 0.12s;
}
.hero-form-btn:hover { box-shadow: 0 0 0 1px #D5FF40, 0 0 38px rgba(213,255,64,0.6); transform: translateY(-1px); }
.form-agree { display: flex; gap: 8px; align-items: flex-start; max-width: 470px; margin: 0 auto; text-align: left; font-size: 12px; line-height: 1.6; color: #C0C2B8; word-break: keep-all; cursor: pointer; }
.form-agree input { margin-top: 3px; accent-color: #D5FF40; flex: none; }

@media (max-width: 560px) { .hero-form { flex-direction: column; } .hero-form-btn { width: 100%; } }

/* 빈칸 — 문구가 정해지면 이 상자를 지우고 글을 넣는다 */
.todo { border: 1px dashed rgba(232,180,60,0.55); border-radius: 14px; padding: 16px 20px; color: #c9a24a; font-size: 13.5px; line-height: 1.6; word-break: keep-all; text-align: left; }
.todo b { color: #e8b43c; }

/* 바닥글 — 홈과 같음 */
footer { text-align: center; margin-top: 80px; padding: 28px 16px 40px; border-top: 1px solid rgba(255,255,255,0.06); background: none; }
.footer-biz { font-family: 'Noto Sans KR', sans-serif; font-size: 11px; color: #3a3a3a; line-height: 1.9; font-weight: 400; }

/* 글 팝업은 나브 위로 */
.modal-overlay { z-index: 1100; }

/* 잠긴 글 → 키트 탭으로 */
.locked-veil { flex-direction: column; gap: 14px; }
.locked-go { font-size: 13px; font-weight: 700; color: #0F0F0F; background: #D5FF40; padding: 10px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 0 22px rgba(213,255,64,0.38); }

/* 무료 문서 — 다음 문서 링크 · 끝 신청 버튼 */
.modal-doc .doc-next { color: #D5FF40; text-decoration: none; border-bottom: 1px solid rgba(213,255,64,0.35); }
.modal-doc .doc-next strong { color: #D5FF40; }
.modal-doc .action-box .doc-cta { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: #0F0F0F; background: #D5FF40; padding: 10px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 0 22px rgba(213,255,64,0.38); }
.modal-doc pre { white-space: pre-wrap; word-break: keep-all; }
.kit-done { max-width: 470px; margin: 0 auto; font-size: 15px; line-height: 1.7; color: #FFFFFF; word-break: keep-all; }
.kit-done strong { color: #D5FF40; }

/* ─── 동의 칸 · 완료 카드 — 모든 신청 폼 공통 ─── */
.pop-agree, .form-agree, .consent-row { position: relative; color: #C0C2B8; }
.pop-agree input[type=checkbox], .form-agree input[type=checkbox], .consent-row input[type=checkbox] {
  -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 3px 0 0;
  border: 1.5px solid #5a5a5a; border-radius: 4px; background: transparent; cursor: pointer; accent-color: auto; }
.pop-agree input[type=checkbox]:checked, .form-agree input[type=checkbox]:checked, .consent-row input[type=checkbox]:checked {
  background: #D5FF40 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%230F0F0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: #D5FF40; }
.pop-agree.need, .form-agree.need, .consent-row.need { color: #C0C2B8; margin-bottom: 26px; }
.pop-agree.need input, .form-agree.need input, .consent-row.need input { border-color: #FF7A6E; }
.pop-agree.need::after, .form-agree.need::after, .consent-row.need::after {
  content: attr(data-need); position: absolute; left: 24px; top: calc(100% + 4px); font-size: 12px; color: #FF7A6E; }
.done-card { max-width: 470px; margin: 0 auto; text-align: left; border: 1px solid rgba(213,255,64,0.35); border-radius: 18px; background: #141414; padding: 20px 22px; }
.done-card .k { font-size: 12px; font-weight: 700; color: #D5FF40; margin: 0 0 6px; }
.done-card .t { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 6px; letter-spacing: -0.02em; word-break: keep-all; }
.done-card .d { font-size: 13px; line-height: 1.6; color: #C0C2B8; margin: 0; word-break: keep-all; }
.pop-done .prod-tag { display: block; background: none; box-shadow: none; padding: 0; margin: 0 0 6px; font-size: 12px; color: #D5FF40; }
