@charset "utf-8";
/*******************************************************************************
    모두의 홈페이지 메인 개선 시안 — 2026-12-03 (index_new.php 전용, 전체 섹션)
    · 컬러는 root.css 변수 그대로 사용(메인 --main, 진한 메인 --mainDark, 글자 --black, 배경 --grayBg)
    · 레퍼런스에서 가져온 것: 이미지 크롭(화면 밖으로 흘리기), 제목·본문 크기 차이, 한글 줄바꿈, 여백, 왼쪽 정렬, 모바일 배치
*******************************************************************************/
.mdn { word-break: keep-all; overflow-wrap: break-word; }
.mdn br.mo { display: none; }
.mdn .md_eyebrow { display: inline-flex; align-items: center; gap: 5px; font-family: "Lexend", "Pretendard", sans-serif; font-size: 14px; font-weight: 700; line-height: 24px; letter-spacing: 0; text-transform: uppercase; }
.mdn .md_eyebrow::before { content: ""; flex: none; width: 16px; height: 16px; background: url(/img/main_new/eyebrow_dot.svg) no-repeat center / contain; animation: mdn_eyebrow_rotate 4s linear infinite; }
@keyframes mdn_eyebrow_rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mdn .md_eyebrow::before { animation: none; } }

/* 메인 비주얼 */
.mdn_hero { position: relative; overflow: hidden; padding: 100px 0 160px; background: linear-gradient(135deg, var(--white) 0%, var(--silverLight) 50%, #dde2e9 100%); }
.mdn_hero::before { content: ""; position: absolute; right: -180px; top: -220px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 71, 171, .12) 0%, rgba(0, 71, 171, 0) 68%); animation: mdFloat 10s ease-in-out infinite; }
.mdn_hero_in { display: grid; grid-template-columns: 600px minmax(0, 1fr); align-items: center; gap: 40px; position: relative; }
.mdn_hero_txt { position: relative; z-index: 2; }
.mdn_badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; line-height: 24px; padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--main); font-size: 0.875rem; box-shadow: 0 6px 18px rgba(20, 33, 61, .06); animation: mdUp .9s cubic-bezier(.2, .7, .2, 1) both; }
.mdn_badge::before { content: ""; flex: none; width: 16px; height: 16px; background: url(/img/main_new/eyebrow_dot.svg) no-repeat center / contain; animation: mdn_eyebrow_rotate 4s linear infinite; }
.mdn_hero_tit { margin: 28px 0 0; color: var(--black); font-size: 3.75rem; font-weight: 300; line-height: 120%; letter-spacing: var(--letter-spacing-heading); animation: mdUp .9s .12s cubic-bezier(.2, .7, .2, 1) both; }
.mdn_hero_tit em { font-style: normal; font-weight: 700; }
.mdn_hero_slogan { margin: 36px 0 0; color: var(--black); font-size: 1.25rem; font-weight: 600; line-height: 150%; animation: mdUp .9s .24s cubic-bezier(.2, .7, .2, 1) both; }
.mdn_hero_sub { margin: 12px 0 0; color: var(--gray); font-size: 1.063rem; line-height: 175%; animation: mdUp .9s .36s cubic-bezier(.2, .7, .2, 1) both; }
.mdn_hero_btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; animation: mdUp .9s .48s cubic-bezier(.2, .7, .2, 1) both; }
.mdn_hero_btns .md_btn { padding: 18px 32px; font-size: 1.063rem; }
.mdn_hero_btns .md_btn:hover, .mdn_hero_btns .md_btn:focus-visible { transform: translateY(-2px); }

/* 비주얼 그림 — 오른쪽을 화면 밖으로 흘려 크게 보이게 크롭 */
.mdn_hero_vis { position: relative; margin-right: calc(-1 * max(20px, (100vw - 1200px) / 2) - 80px); animation: mdFade 1.2s .3s ease both; }
.mdn_hero .md_hero_vis { position: relative; z-index: 1; }
.mdn_mock { position: relative; overflow: hidden; border-radius: 22px 0 0 22px; background: var(--white); box-shadow: 0 40px 80px rgba(20, 33, 61, .14); }
.mdn_mock_bar { display: flex; align-items: center; gap: 7px; padding: 16px 20px; background: var(--grayBg); }
.mdn_mock_bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--silver); }
.mdn_mock_bar b { flex: 1; margin-left: 12px; padding: 4px 12px; border-radius: 6px; background: var(--white); color: var(--gray); font-size: 0.75rem; font-weight: 400; line-height: 150%; }
.mdn_mock_body { padding: 22px 0 30px 30px; }
.mdn_mock_nav { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; }
.mdn_mock_nav span { width: 48px; height: 8px; border-radius: 4px; background: var(--border); }
.mdn_mock_nav span.logo { width: 90px; height: 14px; margin-right: auto; background: var(--main); opacity: .85; }
.mdn_mock_nav span:last-child { width: 80px; height: 22px; margin-right: 30px; border-radius: 999px; background: var(--main); }
.mdn_mock_vis { position: relative; padding: 46px 40px; border-radius: 14px 0 0 14px; background: linear-gradient(135deg, var(--main) 0%, var(--mainDark) 100%); color: var(--white); }
.mdn_mock_vis p { margin: 0; font-size: 1.75rem; font-weight: 300; line-height: 130%; }
.mdn_mock_vis p b { font-weight: 700; }
.mdn_mock_vis span { display: block; margin-top: 12px; font-size: 0.875rem; opacity: .8; }
.mdn_mock_edit { position: absolute; top: 22px; right: 0; bottom: 22px; left: 22px; border: 2px dashed rgba(255, 255, 255, .8); border-right: 0; border-radius: 8px 0 0 8px; pointer-events: none; }
.mdn_mock_tag { display: flex; align-items: center; gap: 4px; position: absolute; left: 230px; top: -13px; padding: 5px 11px; border-radius: 6px; background: var(--white); color: var(--main); font-size: 0.75rem; font-style: normal; font-weight: 600; box-shadow: 0 8px 20px rgba(20, 33, 61, .1); }
.mdn_mock_tag .ico::before { font-size: 0.875rem; }
.mdn_mock_cards { display: flex; gap: 14px; margin-top: 16px; }
.mdn_mock_cards div { flex: 1; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--grayBg); }
.mdn_mock_cards div::before { content: ""; display: block; width: 50%; height: 8px; margin: 18px 0 0 16px; border-radius: 4px; background: var(--silver); }
.mdn_mock_cards div::after { content: ""; display: block; width: 70%; height: 8px; margin: 10px 0 0 16px; border-radius: 4px; background: var(--border); }
.mdn_mock_ai { position: absolute; left: -56px; bottom: -40px; z-index: 3; width: 300px; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: 0 24px 56px rgba(20, 33, 61, .16); animation: mdFloat 5s ease-in-out infinite reverse; }
.mdn_mock_ai .who { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--black); font-size: 0.813rem; font-weight: 600; }
.mdn_mock_ai .who::before { content: "AI"; display: inline-flex; align-items: center; justify-content: center; padding: 4px 6px; border-radius: 8px; background: var(--main); color: var(--white); font-size: 0.688rem; line-height: 140%; }
.mdn_mock_ai .q { margin: 0; padding: 10px 14px; border-radius: 12px 12px 12px 2px; background: var(--grayBg); color: var(--black); font-size: 0.875rem; }
.mdn_mock_ai .a { width: fit-content; margin: 10px 0 0 auto; padding: 10px 14px; border-radius: 12px 12px 2px 12px; background: var(--main); color: var(--white); font-size: 0.875rem; }
.mdn_mock_badge { position: absolute; left: 420px; top: -40px; z-index: 3; padding: 14px 18px; border-radius: 14px; background: var(--white); text-align: center; box-shadow: 0 20px 50px rgba(20, 33, 61, .14); animation: mdPulse 2.6s ease-in-out infinite; }
.mdn_mock_badge strong { display: block; color: var(--main); font-size: 1.75rem; font-weight: 700; line-height: 110%; }
.mdn_mock_badge span { color: var(--gray); font-size: 0.75rem; }

/* 핵심 지표 — 큰 값 + 작은 이름(레퍼런스 후기 점수 표기 방식) */
.mdn_points { position: relative; z-index: 2; margin-top: -72px; }
.mdn_points ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-radius: 20px; background: var(--white); list-style: none; box-shadow: 0 18px 44px rgba(20, 33, 61, .08); }
.mdn_points li { padding: 34px 32px 36px; }
.mdn_points li + li { border-left: 1px solid var(--border); }
.mdn_points .lb { display: block; color: var(--gray); font-size: 0.938rem; font-weight: 500; }
.mdn_points strong { display: block; margin-top: 6px; color: var(--black); font-size: 2.75rem; font-weight: 300; line-height: 115%; letter-spacing: var(--letter-spacing-heading); }
.mdn_points strong em { font-style: normal; font-weight: 700; }
.mdn_points p { margin: 10px 0 0; color: var(--basic); font-size: 0.938rem; }

/* 3가지 약속 — 왼쪽 정렬 제목 + 이미지형 카드 */
.mdn_sec { padding: 150px 0 140px; }
.mdn_head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.mdn_tit { margin: 16px 0 0; color: var(--black); font-size: 2.75rem; font-weight: 300; line-height: 130%; letter-spacing: var(--letter-spacing-heading); }
.mdn_tit em { font-style: normal; font-weight: 700; }
.mdn_desc { max-width: 420px; margin: 0; color: var(--gray); font-size: 1.063rem; line-height: 175%; }
.mdn_pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mdn_pillar { overflow: hidden; border-radius: 20px; background: var(--grayBg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.mdn_pillar .th { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--white) 0%, var(--silverLight) 100%); }
.mdn_pillar .tx { padding: 30px 36px 40px; }
.mdn_pillar .tag { display: flex; align-items: center; gap: 10px; color: var(--main); font-size: 0.813rem; font-weight: 600; letter-spacing: 0.12em; }
.mdn_pillar .tag b { color: var(--black); font-weight: 700; letter-spacing: 0; }
.mdn_pillar h3 { margin: 12px 0 0; color: var(--black); font-size: 1.5rem; font-weight: 700; line-height: 140%; letter-spacing: var(--letter-spacing-heading); }
.mdn_pillar .tx p { margin: 12px 0 0; color: var(--gray); font-size: 0.938rem; line-height: 180%; }
/* 카드 그림: 디자인 */
.mdn_pillar .th.design span { position: absolute; border-radius: 50%; }
.mdn_pillar .th.design .c1 { left: 36px; top: 40px; width: 34%; aspect-ratio: 1; background: var(--main); }
.mdn_pillar .th.design .c2 { left: 22%; top: 40px; width: 34%; aspect-ratio: 1; background: var(--mainDark); opacity: .85; mix-blend-mode: multiply; }
.mdn_pillar .th.design .c3 { left: 36px; bottom: 36px; width: 30%; height: 10px; border-radius: 5px; background: var(--silver); }
.mdn_pillar .th.design .c4 { right: -40px; bottom: -60px; width: 58%; height: 78%; border-radius: 18px; background: var(--white); box-shadow: 0 20px 40px rgba(20, 33, 61, .1); }
.mdn_pillar .th.design .ico { position: absolute; right: 50px; bottom: 40px; color: var(--main); }
.mdn_pillar .th.design .ico::before { font-size: 2.5rem; }
/* 카드 그림: 수정 */
.mdn_pillar .th.edit::before { content: ""; position: absolute; left: 36px; right: 36px; top: 36px; bottom: -30px; border-radius: 16px; background: var(--white); box-shadow: 0 20px 40px rgba(20, 33, 61, .08); }
.mdn_pillar .th.edit .ln { position: absolute; left: 64px; height: 10px; border-radius: 5px; background: var(--border); }
.mdn_pillar .th.edit .l1 { top: 68px; width: 40%; background: var(--silver); }
.mdn_pillar .th.edit .l2 { top: 98px; width: 56%; height: 30px; border-radius: 6px; background: var(--mainLight); outline: 2px dashed var(--main); outline-offset: 4px; }
.mdn_pillar .th.edit .l3 { top: 152px; width: 48%; }
.mdn_pillar .th.edit .cur { position: absolute; left: calc(56% + 54px); top: 116px; display: flex; padding: 8px; border-radius: 50%; background: var(--main); color: var(--white); box-shadow: 0 10px 20px rgba(0, 71, 171, .3); }
.mdn_pillar .th.edit .cur .ico::before { font-size: 1.25rem; }
/* 카드 그림: AI */
.mdn_pillar .th.ai span { position: absolute; padding: 12px 18px; font-size: 0.938rem; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 28px rgba(20, 33, 61, .08); }
.mdn_pillar .th.ai .q { left: 36px; top: 46px; border-radius: 16px 16px 16px 4px; background: var(--white); color: var(--black); }
.mdn_pillar .th.ai .a { right: -10px; top: 112px; display: flex; align-items: center; gap: 8px; padding-right: 40px; border-radius: 16px 16px 4px 16px; background: var(--main); color: var(--white); }
.mdn_pillar .th.ai .a .ico::before { font-size: 1.25rem; }

/* 공통 — 섹션 배경·안내문 */
.mdn_sec.bg { background: var(--grayBg); }
.mdn_note { margin: 28px 0 0; color: var(--gray); font-size: 0.875rem; }

/* 무료인 이유 — 왼쪽 글 + 오른쪽 비교표(모두의 홈페이지 열을 카드처럼 띄움) */
.mdn_why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 80px; }
.mdn_why .mdn_desc { max-width: none; margin-top: 20px; }
.mdn_why_list { margin: 40px 0 0; padding: 0; list-style: none; }
.mdn_why_list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; border-top: 1px solid var(--border); }
.mdn_why_list li b { grid-row: span 2; color: var(--main); font-size: 0.938rem; font-weight: 700; line-height: 170%; }
.mdn_why_list li strong { color: var(--black); font-size: 1.125rem; font-weight: 700; line-height: 150%; }
.mdn_why_list li span { margin-top: 4px; color: var(--gray); font-size: 0.938rem; line-height: 170%; }
.mdn_compare { position: relative; padding: 24px 0; }
.mdn_compare table { width: 100%; border-collapse: separate; border-spacing: 0px; table-layout: fixed; }
.mdn_compare col.c_th { width: 28%; }
.mdn_compare col.c_on { width: 38%; }
.mdn_compare th, .mdn_compare td { padding: 20px 18px; border-bottom: 1px solid var(--border); font-size: 1rem; text-align: center; }
.mdn_compare thead th { padding: 22px 18px; border-bottom: 0; color: var(--gray); font-size: 0.938rem; font-weight: 500; }
.mdn_compare tbody th { color: var(--black); font-weight: 600; text-align: left; }
.mdn_compare tbody td { color: var(--gray); }
.mdn_compare .on { position: relative; background: var(--white); color: var(--black); font-weight: 600; box-shadow: 18px 0 40px -20px rgba(20, 33, 61, .12), -18px 0 40px -20px rgba(20, 33, 61, .12); }
.mdn_compare thead th.on { border-radius: 18px 18px 0 0; background: var(--main); color: var(--white); font-size: 1.063rem; font-weight: 700; }
.mdn_compare tbody tr:last-of-type th, .mdn_compare tbody tr:last-of-type td { border-bottom: 0; }
.mdn_compare tbody tr:last-of-type td.on { border-radius: 0 0 18px 18px; }
.mdn_compare td.on strong { color: var(--main); font-size: 1.75rem; font-weight: 700; line-height: 100%; }
.mdn_why_sec { position: relative; overflow: hidden; background: #020a1c; }
.mdn_why_sec .md_eyebrow { color: var(--white); }
.mdn_why_sec .md_eyebrow::before { filter: brightness(0) invert(1); }
.mdn_why_sec .mdn_tit { color: var(--white); }
.mdn_why_sec .mdn_desc { color: rgba(255, 255, 255, .75); }
.mdn_why_sec .mdn_why_list li { border-top-color: rgba(255, 255, 255, .18); }
.mdn_why_sec .mdn_why_list li b { color: #8fb4ff; }
.mdn_why_sec .mdn_why_list li strong { color: var(--white); }
.mdn_why_sec .mdn_why_list li span { color: rgba(255, 255, 255, .7); }
.mdn_why_sec .mdn_compare { padding: 28px 30px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 28px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0, 10, 40, .35); }
.mdn_why_sec .mdn_compare tbody td { color: #5a6475; }

/* 제작 과정 — 숫자 크게, 가로 진행선 */
.mdn_steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; position: relative; }
.mdn_steps::before { content: ""; position: absolute; left: 0; right: 0; top: 63px; height: 1px; background: var(--border); }
.mdn_steps li { position: relative; padding: 0 28px 0 0; }
.mdn_steps .no { display: block; color: var(--silver); font-size: 3rem; font-weight: 300; line-height: 100%; letter-spacing: var(--letter-spacing-heading); transition: color .4s, font-weight .4s; }
.mdn_steps li { cursor: default; }
.mdn_steps li::after { content: ""; position: absolute; left: 0; top: 58px; width: 11px; height: 11px; border: 2px solid var(--main); border-radius: 50%; background: var(--white); transition: background-color .4s; }
.mdn_steps li.on::after { background: var(--main); animation: mdnStepPulse 1.6s ease-out infinite; }
.mdn_steps li.on .no { color: var(--main); font-weight: 700; }
@keyframes mdnStepPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 71, 171, .35); } 70% { box-shadow: 0 0 0 12px rgba(0, 71, 171, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 71, 171, 0); } }
.mdn_steps strong { display: block; margin-top: 52px; color: var(--black); font-size: 1.188rem; font-weight: 700; line-height: 140%; }
.mdn_steps p { margin: 10px 0 0; color: var(--gray); font-size: 0.938rem; line-height: 175%; }

/* 요금 — 가격 크게, 추천 플랜 강조 */
.mdn_price { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.mdn_plan { position: relative; display: flex; flex-direction: column; padding: 44px 40px 40px; border-radius: 20px; background: var(--white); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.mdn_plan.best { box-shadow: inset 0 0 0 2px var(--main), 0 24px 60px rgba(0, 71, 171, .14); }
.mdn_plan .flag { position: absolute; right: 32px; top: 40px; padding: 5px 14px; border-radius: 999px; background: var(--main); color: var(--white); font-size: 0.813rem; font-weight: 600; }
.mdn_plan .nm { margin: 0; color: var(--black); font-size: 1.25rem; font-weight: 700; }
.mdn_plan .free { width: fit-content; margin: 14px 0 0; padding: 4px 10px; border-radius: 6px; background: var(--mainLight); color: var(--main); font-size: 0.813rem; font-weight: 600; }
.mdn_plan .pr { margin: 22px 0 0; color: var(--black); font-size: 3rem; font-weight: 700; line-height: 100%; letter-spacing: var(--letter-spacing-heading); }
.mdn_plan .pr .unit { margin-right: 8px; color: var(--gray); font-size: 1.063rem; font-weight: 500; letter-spacing: 0; vertical-align: 6px; }
.mdn_plan .pr small { margin-left: 4px; color: var(--gray); font-size: 1.063rem; font-weight: 500; letter-spacing: 0; }
.mdn_plan ul { flex: 1; margin: 32px 0 36px; padding: 26px 0 0; border-top: 1px solid var(--border); list-style: none; }
.mdn_plan li { position: relative; padding: 7px 0 7px 28px; color: var(--basic); font-size: 0.938rem; line-height: 160%; }
.mdn_plan li::before { content: "check"; position: absolute; left: 0; top: 9px; color: var(--main); font-family: var(--icon); font-size: 1.125rem; line-height: 1; }
.mdn_plan .md_btn { width: 100%; }

/* 업종별 디자인 — 그림을 크게 잘라 보이고, 설명(작게) → 업종명(크게) 순 */
.mdn_types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mdn_type { display: block; overflow: hidden; border-radius: 20px; background: var(--grayBg); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.mdn_type .th { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--white) 0%, var(--silverLight) 100%); }
.mdn_type .th i { position: absolute; display: block; border-radius: 10px; }
.mdn_type .th .v { left: 32px; right: -20px; top: 32px; height: 52%; border-radius: 12px 0 0 12px; background: linear-gradient(135deg, var(--main) 0%, var(--mainDark) 100%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mdn_type .th .v::before { content: ""; position: absolute; left: 24px; top: 26px; width: 42%; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .9); }
.mdn_type .th .v::after { content: ""; position: absolute; left: 24px; top: 50px; width: 26%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .5); }
.mdn_type.ty2 .th .v::before { left: 44px; }
.mdn_type.ty2 .th .v::after { left: 44px; }
.mdn_type .th .r { bottom: -14px; width: 30%; height: 26%; background: var(--white); box-shadow: 0 10px 24px rgba(20, 33, 61, .06); }
.mdn_type .th .r1 { left: 32px; }
.mdn_type .th .r2 { left: calc(32px + 30% + 10px); }
.mdn_type .th .r3 { left: calc(32px + 60% + 20px); }
.mdn_type.ty2 .th .v { left: -20px; right: 32px; border-radius: 0 12px 12px 0; }
.mdn_type.ty2 .th .r { height: 22%; }
.mdn_type.ty3 .th .v { left: 32px; right: 40%; height: 70%; border-radius: 12px; }
.mdn_type.ty3 .th .r { left: auto; right: -20px; bottom: auto; width: 34%; height: 18%; }
.mdn_type.ty3 .th .r1 { top: 32px; }
.mdn_type.ty3 .th .r2 { top: calc(32px + 18% + 10px); }
.mdn_type.ty3 .th .r3 { top: calc(32px + 36% + 20px); }
.mdn_type .tx { position: relative; padding: 26px 70px 30px 30px; }
.mdn_type .tx span { display: block; color: var(--gray); font-size: 0.875rem; line-height: 150%; }
.mdn_type .tx strong { display: block; margin-top: 6px; color: var(--black); font-size: 1.375rem; font-weight: 700; line-height: 140%; letter-spacing: var(--letter-spacing-heading); }
.mdn_type .tx .ico { position: absolute; right: 28px; bottom: 32px; display: flex; padding: 8px; border-radius: 50%; background: var(--white); color: var(--main); transition: background-color .3s, color .3s, transform .3s; }
.mdn_type .tx .ico::before { font-size: 1.125rem; }
.mdn_type:focus-visible .tx .ico { background: var(--main); color: var(--white); }

/* 자주 묻는 질문 — 왼쪽 제목 고정 + 오른쪽 목록 */
.mdn_faq_wrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 60px; }
.mdn_faq_head { position: sticky; top: 130px; }

/* 하단 신청 — 왼쪽 글 + 오른쪽 버튼 */
.mdn_cta { position: relative; overflow: hidden; padding: 110px 0; background: linear-gradient(135deg, var(--main) 0%, var(--mainDark) 100%); color: var(--white); }
.mdn_cta::before { content: ""; position: absolute; left: -10%; top: -60%; width: 60%; height: 220%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 100%); transform: rotate(8deg); animation: mdSweep 8s ease-in-out infinite; }
.mdn_cta_in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.mdn_cta h2 { margin: 0; font-size: 2.75rem; font-weight: 300; line-height: 130%; letter-spacing: var(--letter-spacing-heading); }
.mdn_cta h2 b { font-weight: 700; }
.mdn_cta p { margin: 18px 0 0; color: rgba(255, 255, 255, .8); font-size: 1.063rem; }
.mdn_cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mdn_cta .md_btn { padding: 18px 32px; font-size: 1.063rem; }
.mdn_cta .md_btn:hover, .mdn_cta .md_btn:focus-visible { transform: translateY(-2px); }
.mdn_cta .md_btn.ghost:hover, .mdn_cta .md_btn.ghost:focus-visible { background: rgba(255, 255, 255, .1); }

@media (hover: hover) {
.mdn_pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 33, 61, .1); }
.mdn_plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 33, 61, .1); }
.mdn_plan.best:hover { box-shadow: inset 0 0 0 2px var(--main), 0 28px 64px rgba(0, 71, 171, .18); }
.mdn_type:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20, 33, 61, .1); }
.mdn_type:hover .th .v { transform: scale(1.04); }
.mdn_type:hover .tx .ico { background: var(--main); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) {
.mdn_badge::before, .mdn_hero::before, .mdn_badge, .mdn_hero_tit, .mdn_hero_slogan, .mdn_hero_sub, .mdn_hero_btns, .mdn_hero_vis, .mdn_mock_ai, .mdn_mock_badge { animation: none; }
.mdn_steps li.on::after { animation: none; }
}

/*******************************************************************************
    @media 1300px
*******************************************************************************/
@media all and (max-width:1300px){

/* 메인 비주얼 */
.mdn_hero_in { grid-template-columns: 520px minmax(0, 1fr); }
.mdn_hero_tit { font-size: 3.25rem; }

/* 무료인 이유 */
.mdn_why { gap: 50px; }
.mdn_compare th, .mdn_compare td { padding: 18px 12px; }

/* 업종별 디자인 */
.mdn_type .tx strong { font-size: 1.25rem; }

}

/*******************************************************************************
    @media ~980px
*******************************************************************************/
@media all and (max-width:980px){

/* 메인 비주얼 */
.mdn_hero { padding: 70px 0 120px; }
.mdn_hero_in { grid-template-columns: minmax(0, 1fr); gap: 60px; }
.mdn_hero_vis { margin-right: -20px; margin-left: 40px; }
.mdn_mock_ai { left: -40px; }

/* 핵심 지표 */
.mdn_points ul { grid-template-columns: repeat(2, 1fr); }
.mdn_points li + li { border-left: 0; }
.mdn_points li:nth-of-type(n+3) { border-top: 1px solid var(--border); }
.mdn_points li:nth-of-type(2n) { border-left: 1px solid var(--border); }

/* 3가지 약속 */
.mdn_sec { padding: 110px 0 100px; }
.mdn_head { flex-direction: column; align-items: flex-start; gap: 20px; }
.mdn_pillars { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mdn_pillar { display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: center; }
.mdn_pillar .th { height: 100%; aspect-ratio: auto; min-height: 220px; }

/* 무료인 이유 */
.mdn_why { grid-template-columns: minmax(0, 1fr); gap: 30px; }

/* 제작 과정 */
.mdn_steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 30px; }
.mdn_steps::before { left: 5px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
.mdn_steps li { display: grid; grid-template-columns: 70px minmax(0, 1fr); padding: 0 0 36px; }
.mdn_steps li.last { padding-bottom: 0; }
.mdn_steps li::after { left: -30px; top: 6px; }
.mdn_steps .no { grid-row: span 2; font-size: 2rem; }
.mdn_steps strong { margin-top: 0; }
.mdn_steps p { margin-top: 6px; }

/* 요금 */
.mdn_price { grid-template-columns: minmax(0, 1fr); gap: 20px; }

/* 업종별 디자인 */
.mdn_types { grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* 자주 묻는 질문 */
.mdn_faq_wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
.mdn_faq_head { position: static; }

/* 하단 신청 */
.mdn_cta { padding: 90px 0; }
.mdn_cta_in { flex-direction: column; align-items: flex-start; gap: 30px; }

}

/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){
.mdn_why_sec .mdn_compare { padding: 16px 14px; border-radius: 20px; }

.mdn br.pc { display: none; }
.mdn br.mo { display: inline; }

/* 메인 비주얼 */
.mdn_hero { padding: 48px 0 0; }
.mdn_hero_in { gap: 40px; }
.mdn_badge { padding: 6px 14px; font-size: 0.813rem; }
.mdn_hero_tit { margin-top: 20px; font-size: 2.5rem; line-height: 125%; }
.mdn_hero_slogan { margin-top: 24px; font-size: 1.063rem; }
.mdn_hero_sub { margin-top: 8px; font-size: 0.938rem; line-height: 170%; }
.mdn_hero_btns { gap: 10px; margin-top: 32px; }
.mdn_hero_btns .md_btn { flex: 1 1 100%; padding: 16px 20px; font-size: 1rem; }
.mdn_hero_vis { overflow: hidden; height: 360px; margin: 0 -20px 0 0; padding: 0 0 0 20px; }
.mdn_mock { width: 440px; border-radius: 18px 0 0 18px; }
.mdn_mock_body { padding: 16px 0 20px 20px; }
.mdn_mock_nav { margin-bottom: 14px; }
.mdn_mock_vis { padding: 30px 24px; }
.mdn_mock_vis p { font-size: 1.375rem; }
.mdn_mock_tag { left: 170px; }
.mdn_mock_ai { left: auto; right: 12px; bottom: 12px; width: 220px; padding: 14px; border-radius: 14px; animation: none; }
.mdn_mock_ai .q, .mdn_mock_ai .a { font-size: 0.813rem; }
.mdn_mock_badge { display: none; }

/* 핵심 지표 */
.mdn_points { margin-top: 0; padding: 0 0 10px; background: linear-gradient(var(--silverLight) 50%, var(--white) 50%); }
.mdn_points ul { border-radius: 16px; }
.mdn_points li { padding: 22px 20px; }
.mdn_points .lb { font-size: 0.813rem; }
.mdn_points strong { font-size: 1.875rem; }
.mdn_points p { margin-top: 6px; font-size: 0.813rem; line-height: 150%; }

/* 3가지 약속 */
.mdn_sec { padding: 80px 0; }
.mdn_head { margin-bottom: 36px; gap: 16px; }
.mdn_tit { margin-top: 12px; font-size: 1.875rem; }
.mdn_desc { font-size: 0.938rem; }
.mdn_pillars { gap: 16px; }
.mdn_pillar { display: block; border-radius: 16px; }
.mdn_pillar .th { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
.mdn_pillar .tx { padding: 24px 24px 30px; }
.mdn_pillar h3 { margin-top: 10px; font-size: 1.25rem; }
.mdn_pillar .tx p { margin-top: 10px; font-size: 0.875rem; }
.mdn_pillar .th.design .c1, .mdn_pillar .th.design .c2 { top: 28px; }
.mdn_pillar .th.edit::before { left: 24px; right: 24px; top: 24px; }
.mdn_pillar .th.edit .ln { left: 48px; }
.mdn_pillar .th.edit .l1 { top: 50px; }
.mdn_pillar .th.edit .l2 { top: 76px; height: 26px; }
.mdn_pillar .th.edit .l3 { top: 124px; }
.mdn_pillar .th.edit .cur { left: calc(56% + 38px); top: 90px; }
.mdn_pillar .th.ai .q { left: 24px; top: 30px; }
.mdn_pillar .th.ai .a { top: 92px; }


/* 무료인 이유 */
.mdn_why_list { margin-top: 30px; }
.mdn_why_list li { grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0; }
.mdn_why_list li b { font-size: 0.813rem; }
.mdn_why_list li strong { font-size: 1rem; }
.mdn_why_list li span { font-size: 0.813rem; }
.mdn_compare { padding: 10px 0 0; }
.mdn_compare col.c_th { width: 30%; }
.mdn_compare col.c_on { width: 37%; }
.mdn_compare th, .mdn_compare td { padding: 15px 8px; font-size: 0.875rem; }
.mdn_compare thead th { padding: 16px 8px; font-size: 0.813rem; }
.mdn_compare thead th.on { border-radius: 14px 14px 0 0; font-size: 0.875rem; }
.mdn_compare tbody tr:last-of-type td.on { border-radius: 0 0 14px 14px; }
.mdn_compare td.on strong { font-size: 1.375rem; }

/* 제작 과정 */
.mdn_steps { padding-left: 26px; }
.mdn_steps li { grid-template-columns: 50px minmax(0, 1fr); padding-bottom: 28px; }
.mdn_steps li::after { left: -26px; top: 4px; }
.mdn_steps .no { font-size: 1.5rem; }
.mdn_steps strong { font-size: 1.063rem; }
.mdn_steps p { font-size: 0.875rem; }

/* 요금 */
.mdn_plan { padding: 30px 24px 24px; border-radius: 16px; }
.mdn_plan .flag { right: 24px; top: 28px; }
.mdn_plan .nm { font-size: 1.125rem; }
.mdn_plan .pr { margin-top: 16px; font-size: 2.375rem; }
.mdn_plan ul { margin: 22px 0 24px; padding-top: 18px; }
.mdn_plan li { font-size: 0.875rem; }
.mdn_note { margin-top: 20px; font-size: 0.813rem; line-height: 160%; }

/* 업종별 디자인 — 모바일 2열(포트폴리오 방식) */
.mdn_types { gap: 12px; }
.mdn_type { border-radius: 14px; }
.mdn_type .th { aspect-ratio: 1 / 1; }
.mdn_type .th .v { left: 16px; top: 16px; }
.mdn_type.ty2 .th .v { right: 16px; }
.mdn_type.ty3 .th .v { left: 16px; }
.mdn_type .th .r1 { left: 16px; }
.mdn_type .th .r2 { left: calc(16px + 30% + 6px); }
.mdn_type .th .r3 { left: calc(16px + 60% + 12px); }
.mdn_type.ty3 .th .r1 { top: 16px; }
.mdn_type.ty3 .th .r2 { top: calc(16px + 18% + 6px); }
.mdn_type.ty3 .th .r3 { top: calc(16px + 36% + 12px); }
.mdn_type .tx { padding: 16px 16px 20px; }
.mdn_type .tx span { font-size: 0.75rem; }
.mdn_type .tx strong { margin-top: 4px; font-size: 1.063rem; }
.mdn_type .tx .ico { display: none; }
.mdn_type .th .v::before { left: 14px; top: 14px; height: 8px; }
.mdn_type .th .v::after { left: 14px; top: 30px; height: 6px; }
.mdn_type.ty2 .th .v::before, .mdn_type.ty2 .th .v::after { left: 30px; }

/* 자주 묻는 질문 */
.mdn_faq_wrap { gap: 24px; }

/* 하단 신청 */
.mdn_cta { padding: 70px 0; }
.mdn_cta h2 { font-size: 1.875rem; }
.mdn_cta p { margin-top: 12px; font-size: 0.938rem; }
.mdn_cta .btns { width: 100%; }
.mdn_cta .md_btn { flex: 1 1 100%; padding: 16px 20px; font-size: 1rem; }

}

/* 업종별 포트폴리오 리스트 이미지 */
.mdn_type .th { aspect-ratio: 4 / 3; background: var(--grayBg); }
.mdn_type .th img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mdn_type:hover .th img { transform: scale(1.05); }
@media all and (max-width: 680px) {
.mdn_type .th { aspect-ratio: 1 / 1; }
}

/* FAQ 리스트 — sec.threeway.co.kr 아코디언 디자인·효과 */
.mdn_faq { display: flex; flex-direction: column; gap: 5px; }
.mdn_faq_item { overflow: hidden; border: 1px solid #dbe7f4; border-radius: 10px; background: var(--white); }
.mdn_faq_q { position: relative; display: flex; align-items: center; gap: 15px; width: 100%; min-height: 73px; box-sizing: border-box; padding: 19px 63px 19px 19px; border: 0; background: var(--white); color: var(--black); font-size: 16px; font-weight: 700; line-height: 28px; letter-spacing: -1.12px; text-align: left; cursor: pointer; transition: background-color .3s; }
.mdn_faq_q::after { content: ""; position: absolute; right: 19px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: url(/img/main_new/faq_add.svg) no-repeat center / contain; }
.mdn_faq .q, .mdn_faq .a { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 50%; color: var(--white); font-family: "Lexend", "Pretendard", sans-serif; font-size: 14px; font-weight: 500; line-height: 24px; letter-spacing: 0; }
.mdn_faq .q { background: var(--main); }
.mdn_faq .a { background: var(--black); }
.mdn_faq_a { display: none; }
.mdn_faq .ans { display: flex; align-items: flex-start; gap: 15px; padding: 20px 19px 19px; }
.mdn_faq .ans p { min-width: 0; margin: 0; padding-top: 3px; color: #888; font-size: 16px; line-height: 28px; letter-spacing: -1.12px; }
.mdn_faq_item.on { border: 2px solid var(--mainDark); }
.mdn_faq_item.on .mdn_faq_q { padding: 18px 62px 18px 18px; background: var(--main); color: var(--white); }
.mdn_faq_item.on .mdn_faq_q::after { right: 18px; background-image: url(/img/main_new/faq_remove.svg); }
.mdn_faq_item.on .q { background: var(--white); color: var(--main); }
.mdn_faq_item.on .mdn_faq_a { display: block; }
.mdn_faq_item.on .ans { padding: 20px 18px 18px; }
.mdn_faq_q:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }
@media all and (max-width: 680px) {
.mdn_faq_q { gap: 10px; min-height: 60px; padding: 12px 46px 12px 13px; font-size: 14px; line-height: 24px; }
.mdn_faq_item.on .mdn_faq_q { padding: 11px 45px 11px 12px; }
.mdn_faq_q::after { right: 13px; width: 20px; height: 20px; margin-top: -10px; }
.mdn_faq_item.on .mdn_faq_q::after { right: 12px; }
.mdn_faq .q, .mdn_faq .a { width: 28px; height: 28px; }
.mdn_faq .ans { gap: 10px; padding: 16px 16px 18px 13px; }
.mdn_faq_item.on .ans { padding: 16px 15px 17px 12px; }
.mdn_faq .ans p { padding-top: 0; font-size: 14px; line-height: 24px; }
}

/* 2026-12-03 s12 — 무료 섹션 배경: 화면 폭과 상관없이 손·아이콘이 글과 표 사이(중앙 기준)에 오도록 의사요소로 고정 */
.mdn_why_sec::before { content: ""; position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 1920 / 664; transform: translateX(-71%); background: url(/img/main_new/why_bg.jpg) no-repeat center / 100% 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 86%, transparent 100%); pointer-events: none; }
.mdn_why_sec::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 10, 28, .8) 0%, rgba(2, 10, 28, .35) calc(50% - 300px), rgba(2, 10, 28, 0) calc(50% - 120px)); pointer-events: none; }
.mdn_why_sec .mdn_why { position: relative; z-index: 1; }

/* 2026-12-03 s12 — 메인 비주얼: 무료 섹션과 같은 남색 배경, 안의 목업·효과는 그대로 */
.mdn_hero { background: radial-gradient(ellipse 60% 70% at 75% 45%, rgba(0, 71, 171, .45) 0%, rgba(0, 71, 171, 0) 70%), #020a1c; }
.mdn_hero::before { background: radial-gradient(circle, rgba(0, 92, 230, .35) 0%, rgba(0, 71, 171, 0) 68%); }
.mdn_hero .mdn_hero_tit, .mdn_hero .mdn_hero_slogan { color: var(--white); }
.mdn_hero .mdn_hero_sub { color: rgba(255, 255, 255, .72); }
.mdn_hero .mdn_badge { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.mdn .mdn_hero .mdn_hero_btns a.md_btn.line { background: transparent; color: var(--white) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.mdn .mdn_hero .mdn_hero_btns a.md_btn.line:hover, .mdn .mdn_hero .mdn_hero_btns a.md_btn.line:focus-visible { background: rgba(255, 255, 255, .1); color: var(--white) !important; box-shadow: inset 0 0 0 1px var(--white); }

@media all and (max-width: 680px) {
.mdn_why_sec::before { top: 40px; left: calc(50% - 909px); height: 560px; transform: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.mdn_why_sec::after { background: linear-gradient(90deg, rgba(2, 10, 28, .75) 0%, rgba(2, 10, 28, .3) 50%, rgba(2, 10, 28, 0) 75%); }
}

/* 2026-12-03 s13(s17: 크기 1.2배, s18: 진하기 .6) — 메인 비주얼 빛(디캐럿 비주얼 빛 효과 응용): 흐린 큰 원형 빛이 오른쪽에서 쓸려 들어오고, PC 에서는 마우스 커서를 따라다님 */
.mdn_hero_light { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; pointer-events: none; transform: translate3d(75vw, 320px, 0); will-change: transform; }
.mdn_hero_light span { position: absolute; left: -456px; top: -456px; width: 912px; aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(120, 175, 255, 1) 0%, rgba(70, 135, 255, .85) 14%, rgba(40, 100, 235, .55) 28%, rgba(20, 70, 200, .25) 42%, rgba(5, 35, 120, .08) 56%, rgba(0, 0, 0, 0) 68%); filter: blur(48px); mix-blend-mode: plus-lighter; opacity: 0; animation: mdnLightSweep 3s ease-out .1s forwards; }
@keyframes mdnLightSweep { 0% { transform: translate3d(120%, 10%, 0) scale(1.06); opacity: 0; } 15% { opacity: .6; } 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .6; } }
.mdn_hero .mdn_hero_in { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .mdn_hero_light span { animation: none; opacity: .6; } }
@media all and (max-width: 680px) {
.mdn_hero_light { transform: translate3d(70vw, 160px, 0); }
.mdn_hero_light span { left: -312px; top: -312px; width: 624px; filter: blur(40px); }
}

/* 2026-12-03 s14 — 요금 카드: 980 이하에서 가로 슬라이드(가운데 정렬, 스탠다드가 가운데·양옆에 베이직/프리미엄이 보이게, 손가락·마우스로 밀어 넘김) */
@media all and (max-width: 980px) {
.mdn .mdn_price { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 12px calc(50vw - min(36vw, 190px)) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.mdn .mdn_price::-webkit-scrollbar { display: none; }
.mdn .mdn_price.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.mdn .mdn_price .mdn_plan { flex: 0 0 min(72vw, 380px); scroll-snap-align: center; transform: none; }
.mdn .mdn_price .mdn_plan:hover { transform: none; }
.mdn .mdn_note { margin-top: 0; }
}

/* 2026-12-03 s15 — 메인 비주얼: 기본 배경 그라데이션 제거(남색 단색), 빛의 기본 자리는 JS 에서 예전 그라데이션의 밝은 자리(75%·45%) */
.mdn .mdn_hero { background: #020a1c; }
.mdn .mdn_hero::before { display: none; }

/* 2026-12-03 s16 — 약속하는 세 가지: 카드 그림 반복 애니메이션(화면에 보일 때 .is-play 가 붙으면 재생) */
.mdn_pillar .th.design .c1 { animation: mdnPlC1 6s ease-in-out infinite; }
.mdn_pillar .th.design .c2 { animation: mdnPlC2 6s ease-in-out infinite; }
.mdn_pillar .th.design .c3 { transform-origin: left center; animation: mdnPlBar 6s ease-in-out infinite; }
.mdn_pillar .th.design .c4 { animation: mdnPlFloat 6s ease-in-out infinite; }
.mdn_pillar .th.design .ico { animation: mdnPlPalette 6s ease-in-out infinite; }
.mdn_pillar .th.edit .l2::after { content: ""; position: absolute; left: 12px; top: 50%; width: 62%; height: 8px; margin-top: -4px; border-radius: 4px; background: var(--main); opacity: .55; transform-origin: left center; animation: mdnPlType 5s steps(14, end) infinite; }
.mdn_pillar .th.edit .l2 { animation: mdnPlDash 5s ease-in-out infinite; }
.mdn_pillar .th.edit .cur { animation: mdnPlPen 5s ease-in-out infinite; }
.mdn_pillar .th.ai .q { animation: mdnPlQ 6s ease-in-out infinite; }
.mdn_pillar .th.ai .a { animation: mdnPlA 6s ease-in-out infinite; }
.mdn_pillar .th.ai::after { content: ""; position: absolute; right: 36px; top: 118px; width: 60px; height: 32px; border-radius: 15px 15px 4px 15px; background: radial-gradient(circle, var(--main) 0 3px, transparent 3.5px) no-repeat 14px 50% / 8px 8px, radial-gradient(circle, var(--main) 0 3px, transparent 3.5px) no-repeat 26px 50% / 8px 8px, radial-gradient(circle, var(--main) 0 3px, transparent 3.5px) no-repeat 38px 50% / 8px 8px, var(--white); box-shadow: 0 12px 28px rgba(20, 33, 61, .08); opacity: 0; animation: mdnPlDots 6s ease-in-out infinite; }
.mdn .mdn_pillars:not(.is-play) .th *, .mdn .mdn_pillars:not(.is-play) .th::after, .mdn .mdn_pillars:not(.is-play) .th *::after { animation-play-state: paused; }
@keyframes mdnPlC1 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-14px); } }
@keyframes mdnPlC2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(26px); } }
@keyframes mdnPlBar { 0%, 100% { transform: scaleX(.55); } 50% { transform: scaleX(1); } }
@keyframes mdnPlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mdnPlPalette { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-10px) rotate(-12deg); } 50% { transform: translateY(-10px) rotate(12deg); } 75% { transform: translateY(-10px) rotate(0); } }
@keyframes mdnPlType { 0%, 8% { transform: scaleX(0); } 55%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes mdnPlDash { 0%, 100% { outline-color: var(--main); } 50% { outline-color: rgba(0, 71, 171, .35); } }
@keyframes mdnPlPen { 0%, 8% { transform: translate(-150px, 6px) rotate(-8deg); } 55% { transform: translate(0, 0) rotate(0); } 62% { transform: translate(0, 0) scale(.88); } 68%, 88% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-150px, 6px) rotate(-8deg); } }
@keyframes mdnPlQ { 0% { opacity: 0; transform: translateY(14px); } 10%, 88% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes mdnPlDots { 0%, 16% { opacity: 0; transform: translateY(10px); } 22%, 36% { opacity: 1; transform: translateY(0); } 40%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes mdnPlA { 0%, 38% { opacity: 0; transform: translateX(40px); } 48%, 88% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
@media all and (max-width: 680px) {
.mdn_pillar .th.ai::after { right: 24px; top: 98px; }
@keyframes mdnPlPen { 0%, 8% { transform: translate(-110px, 4px) rotate(-8deg); } 55% { transform: translate(0, 0) rotate(0); } 62% { transform: translate(0, 0) scale(.88); } 68%, 88% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-110px, 4px) rotate(-8deg); } }
}
@media (prefers-reduced-motion: reduce) {
.mdn_pillars .th *, .mdn_pillars .th::after, .mdn_pillars .th *::after { animation: none !important; }
.mdn_pillars .th.ai::after { display: none; }
}

/* 2026-12-03 s18 — 비교표 줄 색: #000 10% / 하단 문의: 비주얼 남색 기반 + abstract 배경 이미지 */
.mdn_why_sec .mdn_compare th, .mdn_why_sec .mdn_compare td { border-bottom-color: rgba(0, 0, 0, .1); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type th, .mdn_why_sec .mdn_compare tbody tr:last-of-type td { border-bottom: 0; }
.mdn .mdn_cta { background: #020a1c url(/img/main_new/cta_bg.jpg) no-repeat center / cover; }
.mdn .mdn_cta::before { opacity: .45; }

/* 2026-12-03 s19 — 핵심 지표: 오른쪽 위 아이콘(webcoach 수치 아이콘 스타일: 2px 선 + 반투명 그라데이션 면, 메인 컬러) / 굵은 포인트 글자 메인 컬러 */
.mdn_points li { position: relative; }
.mdn_points .pt_ico { position: absolute; right: 30px; top: 30px; width: 52px; height: 52px; }
.mdn_points strong em { color: var(--main); }
@media all and (max-width: 680px) {
.mdn_points .pt_ico { right: 16px; top: 18px; width: 34px; height: 34px; }
}

/* s20 첫 화면 배지: 흰 배경 제거·흰 글자 */
.mdn_hero .mdn_badge { background: none; box-shadow: none; color: var(--white); padding-left: 0; padding-right: 0; }

/* s21 무료 섹션 배경: 중간 폭(681~980)도 모바일처럼 위쪽에 적당한 크기로, 모바일 위쪽 빈 띠 제거 / 지표 '0원'의 '원'도 메인색 */
.mdn_points strong { color: var(--main); }
@media all and (max-width: 980px) {
.mdn_why_sec::before { top: 0; left: 75%; height: 720px; transform: translateX(-71%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); }
.mdn_why_sec::after { background: linear-gradient(90deg, rgba(2, 10, 28, .75) 0%, rgba(2, 10, 28, .3) 50%, rgba(2, 10, 28, 0) 75%); }
}
@media all and (max-width: 680px) {
.mdn_why_sec::before { top: 0; left: calc(50% - 909px); height: 600px; transform: none; }
}

/* s22 무료 섹션 비교표: 반투명 유리(블러)·흰 글자·흰 라인, 모두의 홈페이지 열 메인색 강조 / 980 이하 미세 가로스크롤 제거 */
.mdn_why_sec .mdn_compare { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0, 10, 40, .35); }
.mdn_why_sec .mdn_compare thead th { color: rgba(255, 255, 255, .7); }
.mdn_why_sec .mdn_compare tbody th { color: var(--white); }
.mdn_why_sec .mdn_compare tbody td { color: rgba(255, 255, 255, .75); }
.mdn_why_sec .mdn_compare th, .mdn_why_sec .mdn_compare td { border-bottom-color: rgba(255, 255, 255, .15); }
.mdn_why_sec .mdn_compare .on { background: var(--main); color: var(--white); box-shadow: 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type td.on { box-shadow: 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75), 0 30px 50px -16px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare thead th.on { color: var(--white); }
.mdn_why_sec .mdn_compare tbody td.on { color: var(--white); border-bottom-color: rgba(255, 255, 255, .2); }
.mdn_why_sec .mdn_compare td.on strong { color: var(--white); }
@media all and (max-width: 980px) {
.mdn_sec { overflow-x: clip; }
}

/* s23 비교표 모두의 홈페이지 열: 흰 배경·파란 글자로 강조, 제목 칸은 --grayBg */
.mdn_why_sec .mdn_compare .on { background: var(--white); color: var(--main); }
.mdn_why_sec .mdn_compare thead th.on { background: var(--grayBg); color: var(--main); }
.mdn_why_sec .mdn_compare tbody td.on { color: var(--main); border-bottom-color: rgba(0, 0, 0, .08); }
.mdn_why_sec .mdn_compare td.on strong { color: var(--main); }
.mdn_why_sec .mdn_compare .on { -webkit-clip-path: inset(-1px -80px); clip-path: inset(-1px -80px); }
.mdn_why_sec .mdn_compare thead th.on { -webkit-clip-path: inset(-80px -80px -1px -80px); clip-path: inset(-80px -80px -1px -80px); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type td.on { -webkit-clip-path: inset(-1px -80px -80px -80px); clip-path: inset(-1px -80px -80px -80px); }

/* s24 첫 화면: 배지-제목 여백 절반 / 모바일 목업 폭 최대 70%, AI 수정 도우미는 PC 처럼 목업 오른쪽 아래에 겹쳐 띄움 */
.mdn_hero .mdn_badge { padding-top: 0; padding-bottom: 0; }
.mdn_hero .mdn_hero_tit { margin-top: 15px; }
@media all and (max-width: 680px) {
.mdn_hero .mdn_hero_tit { margin-top: 10px; }
.mdn_hero .md_hero_vis { width: 100%; max-width: 70%; margin: 0 auto 0 0; padding-bottom: 56px; }
.mdn_hero .md_mock_ai { position: absolute; left: auto; right: -36%; bottom: 0; width: 82%; margin: 0; padding: 12px; border-radius: 14px; }
.mdn_hero .md_mock_ai .who { margin-bottom: 8px; font-size: 0.75rem; }
.mdn_hero .md_mock_ai .q, .mdn_hero .md_mock_ai .a { padding: 8px 10px; font-size: 0.75rem; }
}

/* s25 비교표 모두의 홈페이지 열: 메인색 3px 테두리(칸별 inset 그림자로 열 전체를 한 테두리처럼) */
.mdn_why_sec .mdn_compare .on { box-shadow: inset 3px 0 0 var(--main), inset -3px 0 0 var(--main), 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare thead th.on { box-shadow: inset 3px 0 0 var(--main), inset -3px 0 0 var(--main), inset 0 3px 0 var(--main), 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type td.on { box-shadow: inset 3px 0 0 var(--main), inset -3px 0 0 var(--main), inset 0 -3px 0 var(--main), 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75), 0 30px 50px -16px rgba(0, 92, 230, .75); }

/* s26 무료 섹션 배경: webcoach 비주얼 1번 이미지(2731x1080)로 교체, 같은 파랑 톤 변환, 손·아이콘 위치는 이전과 같게 */
.mdn_why_sec::before { aspect-ratio: 2731 / 1080; transform: translateX(-67.4%); background-image: url(/img/main_new/why_bg2.jpg); }
@media all and (max-width: 680px) {
.mdn_why_sec::before { left: calc(50% - 699px); transform: none; }
}

/* s27 모두의 홈페이지 열 테두리: 칸 위에 덮는 선(::after)으로 바꿔 칸 사이 줄이 테두리 위로 튀어나오지 않게, 두께 5px */
.mdn_why_sec .mdn_compare .on { box-shadow: 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare thead th.on { box-shadow: 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type td.on { box-shadow: 26px 0 50px -18px rgba(0, 92, 230, .75), -26px 0 50px -18px rgba(0, 92, 230, .75), 0 30px 50px -16px rgba(0, 92, 230, .75); }
.mdn_why_sec .mdn_compare .on::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: -1px; z-index: 2; border-left: 5px solid var(--main); border-right: 5px solid var(--main); border-radius: inherit; pointer-events: none; }
.mdn_why_sec .mdn_compare thead th.on::after { bottom: 0; border-top: 5px solid var(--main); }
.mdn_why_sec .mdn_compare tbody tr:last-of-type td.on::after { bottom: 0; border-bottom: 5px solid var(--main); }

/* s28 모바일 첫 화면 버튼: 한 줄에 2개 */
@media all and (max-width: 680px) {
.mdn_hero_btns { flex-wrap: nowrap; gap: 8px; }
.mdn_hero_btns .md_btn { flex: 1 1 0; min-width: 0; padding: 15px 8px; font-size: 0.875rem; white-space: nowrap; }
}

/* s29 모바일: 첫 화면 남색 배경을 요약 카드 겹침 영역(카드 위쪽 절반)까지 잇기 */
@media all and (max-width: 680px) {
.mdn .mdn_points { background: linear-gradient(#020a1c 50%, var(--white) 50%); }
}

/* s30 상단 메뉴: 첫 화면 위 투명·흰 글자(웹코치 방식) → 스크롤해 붙으면 흰색 80% + 블러 */
.md_header { margin-bottom: -85px; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .35s, border-color .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.md_header.is_scrolled { background: rgba(255, 255, 255, .8); border-bottom-color: rgba(20, 33, 61, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.md_header .md_logo a { display: inline-block; background: url(/img/logo_white.png) no-repeat left center / contain; }
.md_header .md_logo img { transition: opacity .35s; }
.md_header:not(.is_scrolled) .md_logo img { opacity: 0; }
.md_header.is_scrolled .md_logo a { background-image: none; }
.md_header:not(.is_scrolled) .md_gnb > li > a { color: var(--white); background-image: linear-gradient(var(--white), var(--white)); }
.md_header:not(.is_scrolled) .md_gnb > li:hover > a, .md_header:not(.is_scrolled) .md_gnb > li.on > a { color: var(--white); }
.md_header:not(.is_scrolled) .md_util a { color: rgba(255, 255, 255, .8); }
.md_header:not(.is_scrolled) .md_util a:hover { color: var(--white); }
.md_header .md_mbtn span, .md_header .md_mbtn span::before, .md_header .md_mbtn span::after { transition: background-color .35s; }
.md_header:not(.is_scrolled) .md_mbtn span, .md_header:not(.is_scrolled) .md_mbtn span::before, .md_header:not(.is_scrolled) .md_mbtn span::after { background: var(--white); }
.mdn .mdn_hero { padding-top: 184px; }
@media all and (max-width: 980px) {
.md_header { margin-bottom: -71px; }
.mdn .mdn_hero { padding-top: 140px; }
}
@media all and (max-width: 680px) {
.mdn .mdn_hero { padding-top: 118px; }
}

/* s30 모바일 전체메뉴: 웹코치형 — 화면 전체 흰 바탕, 위 줄은 헤더 자리, 대메뉴 카드형 펼침(열린 메뉴는 메인 파랑) */
.md_mmenu { background: none; }
.md_mmenu_in { width: 100%; max-width: none; padding: 0 0 40px; }
.md_mmenu_top { height: 70px; margin: 0; padding: 0 20px; gap: 18px; }
.md_mmenu_top > a:first-child { margin-right: auto; line-height: 0; }
.md_mmenu_top img { height: 38px; }
.md_mmenu_top .md_mm_login { color: var(--black); font-size: 0.813rem; font-weight: 600; }
.md_mclose { position: relative; width: 28px; height: 28px; padding: 0; border-radius: 0; background: none; font-size: 0; }
.md_mclose .ico { display: none; }
.md_mclose::before, .md_mclose::after { content: ""; position: absolute; left: 3px; top: 13px; width: 22px; height: 2px; background: var(--black); transform: rotate(45deg); }
.md_mclose::after { transform: rotate(-45deg); }
.md_mmenu_in > ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 18px 20px 0; list-style: none; }
.md_mmenu_in > ul > li { overflow: hidden; margin: 0; padding: 0; border: 0; border-radius: 12px; transition: background-color .3s; }
.md_mmenu_in > ul > li > strong { display: block; position: relative; margin: 0; padding: 13px 50px 13px 20px; color: var(--black); font-size: 1.125rem; font-weight: 700; line-height: 30px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.md_mmenu_in > ul > li > strong::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--black), var(--black)) no-repeat center / 14px 2px, linear-gradient(var(--black), var(--black)) no-repeat center / 2px 14px; }
.md_mmenu_in > ul > li > a { display: none; margin: 0; padding: 0 20px; color: rgba(255, 255, 255, .82); font-size: 0.938rem; line-height: 22px; }
.md_mmenu_in > ul > li.active { padding-bottom: 16px; background: var(--main); box-shadow: 0 10px 24px rgba(0, 71, 171, .22); }
.md_mmenu_in > ul > li.active > strong { margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); color: var(--white); }
.md_mmenu_in > ul > li.active > strong::after { background: linear-gradient(var(--white), var(--white)) no-repeat center / 14px 2px; }
.md_mmenu_in > ul > li.active > a { display: block; }
.md_mmenu_in > ul > li.active > a + a { margin-top: 9px; }
.md_mmenu_in > ul > li.active > a:hover, .md_mmenu_in > ul > li.active > a:focus-visible { color: var(--white); }
.md_mmenu_in > ul > li > strong:focus-visible { outline: 2px solid var(--main); outline-offset: -2px; border-radius: 12px; }
.md_mmenu_in > .md_btn { display: flex; justify-content: center; width: auto; margin: 28px 20px 0; }

/* s31 약속 세 가지·업종 카드: 회색 바탕 → 흰 바탕 + 위쪽(그림과 닿는 면)만 빼고 테두리 */
.mdn .mdn_pillar, .mdn .mdn_type { display: flex; flex-direction: column; background: var(--white); }
.mdn .mdn_pillar .th, .mdn .mdn_type .th { flex: 0 0 auto; }
.mdn .mdn_pillar .tx, .mdn .mdn_type .tx { flex: 1 1 auto; }
.mdn .mdn_pillar .tx, .mdn .mdn_type .tx { border: 1px solid var(--border); border-top: 0; border-radius: 0 0 20px 20px; }
@media all and (max-width: 980px) {
.mdn .mdn_pillar { display: grid; align-items: stretch; }
.mdn .mdn_pillar .tx { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--border); border-left: 0; border-radius: 0 20px 20px 0; }
}
@media all and (max-width: 680px) {
.mdn .mdn_pillar { display: flex; }
.mdn .mdn_pillar .tx { display: block; border-top: 0; border-left: 1px solid var(--border); border-radius: 0 0 16px 16px; }
.mdn .mdn_type .tx { border-radius: 0 0 14px 14px; }
}

/* s32 모바일 전체메뉴: 1차 메뉴를 누르면 하위 메뉴가 부드럽게 아래로 펼쳐짐 */
.md_mmenu_in > ul > li.active { padding-bottom: 0; }
.md_mmenu_in > ul > li.active > strong { margin-bottom: 0; border-bottom: 0; }
.md_mmenu_in > ul > li > strong { transition: color .3s; }
.md_mmenu_in > ul > li > strong::after { background: linear-gradient(var(--black), var(--black)) no-repeat center / 14px 2px; transition: background-color .3s; }
.md_mmenu_in > ul > li > strong::before { content: ""; position: absolute; right: 28px; top: 50%; width: 2px; height: 14px; margin-top: -7px; background: var(--black); transition: transform .35s ease, background-color .3s; }
.md_mmenu_in > ul > li.active > strong::after { background: linear-gradient(var(--white), var(--white)) no-repeat center / 14px 2px; }
.md_mmenu_in > ul > li.active > strong::before { background: var(--white); transform: rotate(90deg) scaleY(0); }
.md_mm_sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1); }
.md_mmenu_in > ul > li.active > .md_mm_sub { grid-template-rows: 1fr; }
.md_mm_sub_in { overflow: hidden; min-height: 0; }
.md_mm_sub_in::before { content: ""; display: block; height: 1px; margin-bottom: 14px; background: rgba(255, 255, 255, .18); }
.md_mmenu .md_mm_sub_in a { display: block; margin: 0; padding: 0 20px; color: rgba(255, 255, 255, .82); font-size: 0.938rem; line-height: 22px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .35s, color .2s, visibility 0s .4s; }
.md_mmenu .md_mm_sub_in a + a { margin-top: 9px; }
.md_mmenu .md_mm_sub_in a:last-child { margin-bottom: 16px; }
.md_mmenu_in > ul > li.active .md_mm_sub_in a { opacity: 1; visibility: visible; transform: none; transition: opacity .3s .08s, transform .35s .08s, color .2s, visibility 0s; }
.md_mmenu .md_mm_sub_in a:hover, .md_mmenu .md_mm_sub_in a:focus-visible { color: var(--white); }
@media (prefers-reduced-motion: reduce) { .md_mm_sub, .md_mmenu .md_mm_sub_in a, .md_mmenu_in > ul > li > strong::before { transition: none; } }

/* s33 영역별 디졸브(스크롤해 닿으면 서서히 나타남, 디캐럿 방식) — 마우스 올림 효과(transform)와 겹치지 않게 translate 속성 사용 */
.mdn .mdn_rv { opacity: 0; translate: 0 40px; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-d, 0ms); }
.mdn .mdn_rv.is-in { opacity: 1; translate: none; }

/* 무료인 이유 비교 박스(2026-12-03): PC 는 박스 높이를 왼쪽 글(제목 위~목록 끝)에 맞추고, 표는 늘리지 않고 세로 가운데 */
@media all and (min-width: 981px) {
.mdn_why_sec .mdn_why { align-items: stretch; }
.mdn_why_sec .mdn_why_vis { display: flex; padding-top: 44px; }
.mdn_why_sec .mdn_compare { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
}
