@charset "utf-8";
/* ============================================================
   php-upgrade.css — PHP 버전 업그레이드 (maintenance/php_upgrade.php)
   Figma nMoFviN1mJGhwqUZs7QttB · 1:2  (1440 시안, 본문 폭 1200)

   시안이 1440 기준이고 본문 폭이 1200 으로 고정이라, 다른 유지관리 화면(maint.css 는 1920 기준 vw 비례)과
   달리 px 값을 시안 그대로 쓰고 좁은 화면에서는 단을 줄여 쌓는다.
   클래스는 모두 pu- 로 시작한다. 다른 파일은 건드리지 않았다.
   ============================================================ */

.pu {
	--pu-main: #4a43ee;
	--pu-deep: #2a1e7a;
	--pu-soft: #7b6cf6;
	--pu-pale: #b2b3ff;
	--pu-ink: #111;
	--pu-mute: #6a6b78;
	--pu-line: #e7e7f0;
	--pu-bg: #f6f6fb;
	--pu-night: #1b1a2e;
	--pu-yellow: #ffe27a;
	--pu-red: #e5484d;
	color: var(--pu-ink);
	letter-spacing: -.02em;
	word-break: keep-all;
	overflow-wrap: break-word;
}
.pu *, .pu *::before, .pu *::after { box-sizing: border-box; }
/* :where() 로 감싸 리셋의 우선순위를 0 으로 낮춘다 — 아래 클래스의 여백이 리셋에 먹히지 않게 */
.pu :where(p, h1, h2, h3, dl, dd, dt, ul, ol) { margin: 0; padding: 0; }
.pu :where(ul, ol) { list-style: none; }
.pu .pu-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pu-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ── 제목 ─────────────────────────────────────────────── */
.pu-title { padding: calc(var(--header-h, 80px) + 50px) 20px 50px; text-align: center; }
.pu-title__crumb { font-size: 13px; color: #aaa; }
.pu-title__h1 { padding-top: 14px; font-size: 46px; font-weight: 800; line-height: 1.15; }
.pu-title__lead { padding-top: 14px; font-size: 19px; color: var(--pu-mute); }

/* ── 단추 ─────────────────────────────────────────────── */
.pu-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 15px 30px; border-radius: 30px; border: 1px solid transparent;
	font-size: 16px; font-weight: 800; line-height: 1.2; text-decoration: none; text-align: center;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pu-btn--white { background: #fff; color: var(--pu-main); }
.pu-btn--line { border-color: rgba(255,255,255,.6); color: #fff; }
.pu-btn:hover { transform: translateY(-2px); }
.pu-btn--white:hover { box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.pu-btn--line:hover { background: rgba(255,255,255,.12); }
.pu-btn:focus-visible { outline: 3px solid var(--pu-yellow); outline-offset: 3px; }

/* ── 히어로 ───────────────────────────────────────────── */
.pu-hero {
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: 70px; border-radius: 28px; overflow: hidden; color: #fff;
	background:
		radial-gradient(465px circle at 80% 20%, rgba(139,123,255,1), rgba(139,123,255,0)),
		linear-gradient(158deg, var(--pu-deep) 0%, var(--pu-main) 60%, var(--pu-soft) 100%);
}
.pu-hero__text { flex: 0 1 664px; min-width: 0; }
.pu-hero__badge {
	display: inline-block; padding: 8px 20px; border-radius: 30px;
	background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
	font-size: 15px; font-weight: 600; line-height: 21px;
}
.pu-hero__h { padding-top: 22px; font-size: 44px; font-weight: 800; line-height: 57.2px; }
.pu-hero__h em { font-style: normal; color: var(--pu-yellow); }
.pu-hero__p { padding-top: 18px; font-size: 18px; line-height: 30.6px; opacity: .85; }
.pu-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 30px; }
.pu-hero__badge-circle {
	flex: 0 0 330px; width: 330px; height: 330px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
}
.pu-hero__from, .pu-hero__rec { font-size: 20px; opacity: .8; }
.pu-hero__arrow { padding-top: 8px; font-size: 26px; font-weight: 800; color: var(--pu-yellow); line-height: 1.2; }
.pu-hero__to { font-size: 90px; font-weight: 900; font-style: italic; line-height: 1.2; }
.pu-hero__to small { margin-left: .12em; font-size: .36em; font-style: normal; font-weight: 800; }

/* ── 섹션 공통 ────────────────────────────────────────── */
.pu-sec { padding-top: 100px; }
.pu-eyebrow { padding-bottom: 10px; font-size: 15px; font-weight: 700; letter-spacing: .05em; color: var(--pu-main); }
.pu-h2 { font-size: 34px; font-weight: 800; line-height: 1.3; }
.pu-lead { padding-top: 10px; font-size: 17px; line-height: 28.9px; color: var(--pu-mute); }
.pu-note { padding-top: 18px; font-size: 13px; color: #999; }

/* ── 체크리스트 ───────────────────────────────────────── */
.pu-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.pu-checks li {
	position: relative; display: flex; align-items: center; min-height: 103px;
	padding: 26px 26px 26px 64px; border-radius: 18px; background: var(--pu-bg);
	font-size: 17px; font-weight: 600; line-height: 25.5px;
}
.pu-checks__mark {
	position: absolute; left: 24px; top: 24px; width: 26px; height: 26px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	background: var(--pu-main); color: #fff; font-size: 14px; font-weight: 600; line-height: 1;
}

/* ── 왜 올려야 하나 ───────────────────────────────────── */
.pu-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pu-why__card { padding: 34px 28px; border: 1px solid var(--pu-line); border-radius: 20px; background: #fff; }
.pu-why__ico {
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px;
	background: linear-gradient(135deg, var(--pu-main) 0%, var(--pu-soft) 100%); color: #fff; font-size: 26px;
}
.pu-why__card h3 { padding-top: 22px; font-size: 20px; font-weight: 700; }
.pu-why__card p { padding-top: 12px; font-size: 15px; line-height: 24.75px; color: var(--pu-mute); }

/* ── 지원 현황 표 ─────────────────────────────────────── */
/* 지원 현황 표 — 유지보수 화면의 표(.mt-tbl, maint.css)를 그대로 쓰고, 여기서는 줄 강조와 상태 알약만 덧붙인다 */
.pu-sched .mt-tbl { margin-top: 40px; }
.pu-sched .mt-tbl tbody th { font-size: 1.15em; font-weight: 800; }
.pu-sched .mt-tbl tbody tr.is-soon > * { background: rgba(255, 244, 229, .9); }
.pu-state { display: inline-block; padding: .3em .95em; border-radius: 20px; font-size: 1em; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.pu-state--ok   { background: #e7f7ee; color: #16a34a; }
.pu-state--warn { background: #fff4e5; color: #d97706; }
.pu-state--end  { background: #fdecec; color: #e5484d; }

/* ── 보안 뉴스 ────────────────────────────────────────── */
.pu-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.pu-news__card {
	display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--pu-line); border-radius: 18px;
	background: #fff; color: inherit; text-decoration: none;
}
a.pu-news__card { transition: transform .15s ease, box-shadow .15s ease; }
a.pu-news__card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(74,67,238,.10); }
a.pu-news__card:focus-visible { outline: 3px solid var(--pu-main); outline-offset: 2px; }
.pu-tag { align-self: flex-start; padding: 5px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.pu-tag--official { background: #eeedff; color: var(--pu-main); }
.pu-tag--host     { background: #e7f7ee; color: #16a34a; }
.pu-tag--press    { background: #f1f1f6; color: #555; }
.pu-tag--biz      { background: #fff4e5; color: #d97706; }
.pu-news__card h3 { padding: 14px 0 10px; font-size: 17.5px; font-weight: 700; line-height: 25.4px; }
.pu-news__card p { flex: 1; font-size: 14.5px; line-height: 23.2px; color: var(--pu-mute); }
.pu-news__src { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pu-line); font-size: 13px; color: #999; }

/* ── 버전만 바꾸면 안 되는 이유 ────────────────────────── */
.pu-break { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.pu-break__row { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border-radius: 18px; background: var(--pu-bg); }
.pu-break__row code {
	flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--pu-line); border-radius: 8px; background: #fff;
	font: 700 14px/1.5 "Cousine", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--pu-main);
}
.pu-break__row p { font-size: 16px; line-height: 25.6px; }
.pu-break__row strong { font-weight: 700; color: var(--pu-red); }
.pu-callout {
	margin-top: 24px; padding: 26px 32px; border-radius: 18px; font-size: 18px; font-weight: 600;
	background: linear-gradient(90deg, #eeedff, #f7f0ff);
}
.pu-callout em { font-style: normal; color: var(--pu-main); }

/* ── 서비스 범위 ──────────────────────────────────────── */
.pu-scope { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.pu-scope__card { padding: 28px 24px; border: 1px solid var(--pu-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 12px rgba(74,67,238,.06); }
.pu-scope__no { font-size: 14px; font-weight: 800; color: var(--pu-main); }
.pu-scope__card h3 { padding-top: 10px; font-size: 19px; font-weight: 700; }
.pu-scope__card p { padding-top: 10px; font-size: 14.5px; line-height: 23.2px; color: var(--pu-mute); }

/* ── 진행 절차 ────────────────────────────────────────── */
.pu-steps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0 10px; margin-top: 40px; }
.pu-steps__item { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; border-radius: 16px; }
.pu-steps__item:focus-visible { outline: 3px solid rgba(74,67,238,.35); outline-offset: 4px; }
.pu-steps__no {
	display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%;
	background: #fff; border: 2px solid var(--pu-pale); color: var(--pu-main); font-size: 22px; font-weight: 800;
}
.pu-steps__item.is-on .pu-steps__no { background: var(--pu-main); border-color: var(--pu-main); color: #fff; }
.pu-steps__no { transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.pu-steps__item:hover .pu-steps__no { transform: translateY(-2px); }
.pu-steps__item.is-on strong { color: var(--pu-main); }
.pu-stepinfo { display: flex; align-items: flex-start; gap: 18px; min-height: 112px; margin-top: 34px; padding: 26px 30px; border-radius: 18px; background: var(--pu-bg); }
.pu-stepinfo__no { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: var(--pu-main); color: #fff; font-size: 16px; font-weight: 800; }
.pu-stepinfo strong { display: block; font-size: 18px; font-weight: 800; }
.pu-stepinfo p { padding-top: 6px; font-size: 15.5px; line-height: 1.7; color: var(--pu-mute); }
.pu-steps__item strong { padding-top: 16px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.pu-steps__item small { padding-top: 6px; font-size: 13px; color: var(--pu-mute); }

/* ── FAQ — 눌러서 열고 닫는다 (service/ai_marketing.php 의 .aeo-faq 와 같은 방식, svc-aeo.js 의 로직을 php-upgrade.js 로 옮겼다) ── */
.pu-faq { margin-top: 28px; border-top: 1px solid var(--pu-line); }
.pu-faq__item { border-bottom: 1px solid var(--pu-line); }
.pu-faq h3 { font-size: inherit; font-weight: inherit; }
.pu-faq__q { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 24px 4px; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.pu-faq__mark { flex: 0 0 28px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #f1f1f7; color: var(--pu-mute); font-size: 12.5px; font-weight: 800; transition: background-color .3s ease, color .3s ease; }
.pu-faq__q[aria-expanded="true"] .pu-faq__mark { background: var(--pu-main); color: #fff; }
.pu-faq__t { flex: 1 1 0; min-width: 0; font-size: 19px; font-weight: 700; letter-spacing: -.035em; line-height: 1.5; transition: color .2s ease; }
.pu-faq__q:hover .pu-faq__t { color: var(--pu-main); }
.pu-faq__q:focus-visible { outline: 2px solid var(--pu-main); outline-offset: 3px; border-radius: 6px; }
.pu-faq__ico { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.pu-faq__ico::before, .pu-faq__ico::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; border-radius: 2px; background: #84858f; transition: transform .35s cubic-bezier(.22, 1, .36, 1), background-color .3s ease; }
.pu-faq__ico::after { transform: rotate(90deg); }
.pu-faq__q[aria-expanded="true"] .pu-faq__ico::before { background: var(--pu-main); }
.pu-faq__q[aria-expanded="true"] .pu-faq__ico::after { background: var(--pu-main); transform: rotate(0deg); }
.pu-faq__a { overflow: hidden; }
.pu-faq__a[hidden] { display: none; }
.pu-faq__a p { padding: 0 42px 28px 48px; font-size: 16px; line-height: 1.85; color: var(--pu-mute); }
.pu-faq__a.is-anim { transition: height .38s cubic-bezier(.22, 1, .36, 1); }

/* ── 맺음 ─────────────────────────────────────────────── */
.pu-cta {
	margin-top: 110px; padding: 80px 20px calc(80px + clamp(30px, 3.125vw, 60px)); text-align: center; color: #fff;
	background: linear-gradient(165deg, var(--pu-deep) 0%, var(--pu-main) 60%, var(--pu-soft) 100%);
}
.pu-cta__h { font-size: 38px; font-weight: 800; line-height: 51.3px; }
.pu-cta__p { padding-top: 16px; font-size: 18px; opacity: .8; }
.pu-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 34px; }

/* ── 좁은 화면 ────────────────────────────────────────── */
@media (max-width: 1100px) {
	.pu-hero { padding: 56px 44px; }
	.pu-hero__badge-circle { flex-basis: 260px; width: 260px; height: 260px; }
	.pu-hero__to { font-size: 70px; }
	.pu-checks, .pu-news { grid-template-columns: repeat(2, 1fr); }
	.pu-why, .pu-scope { grid-template-columns: repeat(2, 1fr); }
	.pu-steps { grid-template-columns: repeat(4, 1fr); gap: 36px 10px; }
}
@media (max-width: 767px) {
	.pu-sched .mt-tbl tbody th { justify-content: flex-start; text-align: left; font-size: 1.35em; }
	/* 카드 모양에서는 줄 전체를 칠한다(칸마다 칠하면 카드 안에 네모가 생긴다) */
	.pu-sched .mt-tbl tbody tr.is-soon { background: rgba(255, 244, 229, .9); }
	.pu-sched .mt-tbl tbody tr.is-soon > * { background: none; }
}
@media (max-width: 760px) {
	.pu-faq__t { font-size: 16px; }
	.pu-faq__a p { padding: 0 4px 22px 4px; font-size: 15px; }
	.pu-title { padding-bottom: 36px; }
	.pu-title__h1 { font-size: 34px; }
	.pu-title__lead { font-size: 16px; }
	.pu-hero { flex-direction: column; align-items: flex-start; padding: 40px 28px; gap: 32px; }
	.pu-hero__h { font-size: 30px; line-height: 40px; }
	.pu-hero__p { font-size: 16px; line-height: 26px; }
	.pu-hero__badge-circle { align-self: center; flex-basis: auto; width: 240px; height: 240px; }
	.pu-hero__from, .pu-hero__rec { font-size: 16px; }
	.pu-hero__to { font-size: 60px; }
	.pu-sec { padding-top: 72px; }
	.pu-h2 { font-size: 26px; }
	.pu-lead { font-size: 15px; line-height: 25px; }
	.pu-checks, .pu-news, .pu-break, .pu-why, .pu-scope { grid-template-columns: 1fr; }
	.pu-checks li { min-height: 0; }
	.pu-break__row { flex-direction: column; gap: 12px; }
	.pu-steps { grid-template-columns: repeat(2, 1fr); }
	.pu-stepinfo { padding: 20px 18px; min-height: 0; }
	.pu-cta { margin-top: 80px; padding: 60px 20px; }
	.pu-cta__h { font-size: 26px; line-height: 36px; }
	.pu-cta__p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.pu-btn, a.pu-news__card, .pu-steps__no { transition: none; }
	.pu-btn:hover, a.pu-news__card:hover, .pu-steps__item:hover .pu-steps__no { transform: none; }
}

/* 푸터 위 귀퉁이가 둥근데, 그 뒤로 몸통의 흰 바탕이 비쳐 보라색 띠 끝에 흰 모서리가 생긴다.
   메인(style.css 의 body:has(.clients) .site-footer)과 같은 방법으로 푸터를 둥글기만큼 끌어올려
   맺음 띠 위에 겹친다 — 귀퉁이 뒤로는 띠의 보라색이 그대로 비친다. 띠는 그만큼 아래를 더 길게 잡았다. */
body:has(.pu-cta) .site-footer,
body:has(.pd-cta) .site-footer {
	margin-top: calc(-1 * clamp(30px, 3.125vw, 60px));
	z-index: 2;
}

/* ── 움직임 ───────────────────────────────────────────── */
/* 카드 — 손을 올리면 살짝 떠오른다. 등장 연출(.js-reveal)이 붙은 카드는 등장이 끝난 뒤(.is-in)의 모양을 따로 잡아 준다 */
.pu-lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pu-lift:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(74, 67, 238, .12); }
.has-reveal .pu-lift.js-reveal.is-in:hover { transform: translateY(-5px); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pu-why__card:hover, .pu-scope__card:hover, .pu-news__card:hover, .pu-checks li:hover { border-color: #cfcdf8; }
.pu-checks li { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.pu-checks li:hover { background: #eeedff; }

.pu-hero { position: relative; }
.pu-hero > * { position: relative; z-index: 1; }
.pu-hero__badge-circle { position: relative; }
@media (prefers-reduced-motion: no-preference) {
	.pu-hero::before { content: ""; position: absolute; z-index: 0; right: -60px; top: -80px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 123, 255, .55), rgba(139, 123, 255, 0) 65%); animation: puGlow 9s ease-in-out infinite alternate; pointer-events: none; }
	.pu-hero__badge-circle { animation: puFloat 6s ease-in-out infinite; }
	.pu-hero__badge-circle::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: puRing 3.2s ease-out infinite; pointer-events: none; }
	.pu-hero__arrow { animation: puBounce 1.6s ease-in-out infinite; }
	.pu-btn--white { background-size: 200% 100%; }
}
@keyframes puFloat  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes puGlow   { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 40px) scale(1.2); } }
@keyframes puRing   { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes puBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) {
	.pu-lift, .pu-checks li, .pu-faq__a.is-anim { transition: none; }
	.pu-lift:hover, .has-reveal .pu-lift.js-reveal.is-in:hover { transform: none; }
}
