/* ==========================================
[포트폴리오 상세 및 메인 통합 스타일시트]
========================================== */

:root { --primary-color: #2B72F1; --primary-light: #4A89F4; --primary-dark: #1E5CD4; --accent-cyan: #4AF8FF; --text-white: #FFFFFF; --text-dark: #1E293B; --text-gray: #64748B; --bg-gray-light: #F8FAFC; --bg-blue-tint: #EEF2FA; --border-color: #E2E8F0; --radius-sm: 0.8rem; --radius-md: 1.6rem; --radius-lg: 2.4rem; --radius-device: 3.2rem; --shadow-sm: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.05); --shadow-md: 0 1rem 3rem rgba(0, 0, 0, 0.08); --shadow-lg: 0 2rem 5rem rgba(0, 0, 0, 0.12); --font-family: 'Pretendard', sans-serif; }
html { scroll-behavior: smooth; font-size: 62.5%; }
body { margin: 0; padding: 0; background: var(--bg-gray-light); font-family: var(--font-family); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 1.6rem; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
#skip-nav a { position: absolute; top: -13rem; left: 0; width: 100%; height: 4rem; line-height: 4rem; background: #000000; color: #FFFFFF; text-align: center; z-index: 2000; transition: top 0.3s; font-size: 1.6rem; }
#skip-nav a:focus { top: 0; outline: none; }
.btn-back-hero { position: absolute; top: 3rem; left: 3rem; z-index: 110; display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.2rem 2.4rem; background: rgba(255, 255, 255, 0.1); border: 0.1rem solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(1rem); border-radius: 4rem; color: var(--text-white); text-decoration: none; font-size: 1.5rem; font-weight: 700; box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.btn-back-hero i { font-size: 1.8rem; transition: transform 0.3s ease; }
.btn-back-hero:hover { background: var(--text-white); color: var(--primary-color); box-shadow: var(--shadow-lg); transform: translateY(-0.3rem); }
.btn-back-hero:hover i { transform: translateX(-0.4rem); }
.mini-header-bar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); border-bottom: 0.1rem solid var(--border-color); padding: 1.6rem 3rem; box-shadow: var(--shadow-sm); z-index: 999; display: flex; align-items: center; justify-content: space-between; gap: 2rem; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }
.mini-header-bar.visible { transform: translateY(0); }
.header-left { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; max-width: 45%; }
.mini-back-btn { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; font-weight: 800; color: var(--text-dark); text-decoration: none; padding-right: 2rem; border-right: 0.2rem solid var(--border-color); transition: color 0.3s ease; flex-shrink: 0; }
.mini-back-btn i { font-size: 1.8rem; }
.mini-back-btn:hover { color: var(--primary-color); }
.mini-header-title { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-header-info { display: flex; align-items: center; gap: 2.4rem; list-style: none; margin: 0; padding: 0 0 0.4rem 0; overflow-x: auto; white-space: nowrap; flex-shrink: 1; }
.mini-header-info::-webkit-scrollbar { height: 0.3rem; }
.mini-header-info::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 0.3rem; }
.mini-header-info li { font-size: 1.4rem; color: var(--text-gray); font-weight: 600; display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.mini-header-info .info-label { color: var(--primary-color); font-weight: 800; }
.mini-header-info a.site-link { color: var(--text-white); text-decoration: none; font-weight: 800; background: var(--text-dark); padding: 0.6rem 2rem; border-radius: 3rem; transition: all 0.3s ease; flex-shrink: 0; }
.mini-header-info a.site-link:hover { background: var(--primary-color); box-shadow: var(--shadow-sm);}
.portfolio-header { position: relative; width: 100%; min-height: 95vh; padding: 14rem 0 10rem 0; background: var(--primary-color); display: flex; align-items: center; overflow: visible; box-sizing: border-box; }
.portfolio-header-inner { max-width: 150rem; margin: 0 auto; padding: 0 4rem; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; position: relative; z-index: 10; box-sizing: border-box; }
.hero-info-area { display: flex; flex-direction: column; color: var(--text-white); animation: fadeUp 1s ease 0.2s forwards; opacity: 0; transform: translateY(3rem); }
.hero-category { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.8); margin-bottom: 1.2rem; }
.project-title { font-size: 5rem; font-weight: 800; color: var(--text-white); margin: 0 0 2rem 0; line-height: 1.3; letter-spacing: -0.02em; word-break: keep-all; }
.hero-meta-grid { display: flex; flex-direction: column; gap: 2rem; padding-top: 3rem; border-top: 0.1rem solid rgba(255, 255, 255, 0.2); }
.meta-item {display: flex;font-size: 1.6rem;align-items: center;}
.meta-label { width: 11rem; color: rgba(255, 255, 255, 0.8); font-weight: 700; flex-shrink: 0; line-height: 1.5; }
.meta-value { color: var(--text-white); font-weight: 500; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; line-height: 1.5; }
.meta-value a { color: var(--primary-color); text-decoration: none; font-weight: 800; background: var(--text-white); padding: 0.6rem 2rem; border-radius: 3rem; display: inline-flex; align-items: center; gap: 0.6rem; transition: all 0.3s ease; box-shadow: var(--shadow-sm); font-size: 1.5rem; }
.meta-value a:hover {box-shadow: var(--shadow-md); color: var(--primary-dark); background: #182f85; color: #fff;}
.role-item { align-items: center; }
.role-bars { flex-direction: column; gap: 1.4rem; width: 100%; max-width: 32rem; }
.skill-row { display: flex; align-items: center; gap: 1.5rem; font-size: 1.4rem; font-weight: 700; width: 100%; }
.skill-name { width: 6rem; flex-shrink: 0; }
.progress-track { flex: 1; height: 0.8rem; background: rgba(255, 255, 255, 0.2); border-radius: 1rem; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: var(--accent-cyan); border-radius: 1rem; width: 0; box-shadow: 0 0 1rem rgba(74, 248, 255, 0.6); transition: width 7s cubic-bezier(0.16, 1, 0.3, 1); }
.skill-num { width: 4.5rem; text-align: right; flex-shrink: 0; color: var(--accent-cyan); }
.hero-visual-area { position: relative; height: 65rem; width: 100%; display: flex; justify-content: center; align-items: center; animation: fadeLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; opacity: 0; transform: translateX(5rem); box-sizing: border-box; }
.bg-circle-1 { position: absolute; width: 65rem; height: 65rem; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.mockup-device { position: absolute; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2; box-sizing: border-box; }
.primary-device {width: 100%;max-width: 73rem;transform: perspective(100rem) rotateY(-12deg) rotateX(6deg) translate(-10%, -5%);left: 0;}
.pc-screen { background: #000000; border-radius: 1.6rem 1.6rem 0 0; padding: 1.2rem 1.2rem 0 1.2rem; border: 0.3rem solid rgba(255, 255, 255, 0.1); border-bottom: none; box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.3); overflow: hidden; aspect-ratio: 18 / 10; }
.pc-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 0.8rem 0.8rem 0 0; display: block; }
.pc-stand { height: 2.4rem; background: #E2E8F0; border-radius: 0 0 1.6rem 1.6rem; position: relative; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2); }
.pc-stand::after { content: ''; position: absolute; bottom: -1.2rem; left: 50%; transform: translateX(-50%); width: 16rem; height: 1.2rem; background: #CBD5E1; border-radius: 0 0 0.8rem 0.8rem; }
.secondary-device { width: 35%; max-width: 20rem; height: auto; aspect-ratio: 9 / 16; z-index: 3; background: #000000; border-radius: var(--radius-device); padding: 0.8rem; border: 0.3rem solid rgba(255, 255, 255, 0.2); box-shadow: -2rem 3rem 5rem rgba(0, 0, 0, 0.4); transform: perspective(100rem) rotateY(-10deg) rotateX(4deg); right: 2rem; bottom: 8rem; }
.mobile-screen { overflow: hidden; border-radius: calc(var(--radius-device) - 0.8rem); width: 100%; height: 100%; background: var(--text-white); }
.mobile-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.portfolio-container { position: relative; z-index: 20; }
.improvement-list { display: flex; flex-direction: column; gap: 20rem; padding-top: 12rem; }
.improvement-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6rem; scroll-margin-top: 12rem; }
.item-text { display: flex; flex-direction: column; align-items: center; max-width: 80rem; }
.item-category { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: 0.1em; margin-bottom: 1.6rem; }
.item-title { font-size: 4rem; font-weight: 800; line-height: 1.4; color: var(--text-dark); margin: 0 0 2rem 0; word-break: keep-all; letter-spacing: -0.02em; }
.item-title strong { color: var(--primary-color); }
.item-desc { font-size: 1.7rem; color: var(--text-gray); line-height: 1.8; word-break: keep-all; margin: 0; }
.item-image { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 120rem; padding: 0; }
.item-image.no-style { background: transparent; border: none; box-shadow: none; }
.device-frame { position: relative; width: 100%; max-width: 100%; background: var(--text-white); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-md); transition: transform 0.4s ease, box-shadow 0.4s ease; box-sizing: border-box; }
.device-frame img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-lg) - 1.2rem); border: 0.1rem solid var(--border-color); }
.mobile-screens-container { display: flex; gap: 5rem; justify-content: center; align-items: center; width: 100%; max-width: 90rem; }
.mobile-screen-wrapper { flex: 1; max-width: 32rem; height: 64rem; background: var(--text-white); border-radius: var(--radius-device); padding: 1.4rem; box-shadow: var(--shadow-md); border: 0.1rem solid var(--border-color); display: flex; flex-direction: column; box-sizing: border-box; }
.mobile-screen-wrapper.center-img { transform: translateY(5rem); }
.mobile-screen-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; border-radius: calc(var(--radius-device) - 1.4rem); border: 0.1rem solid var(--border-color); }
.concept-section { margin-top: 10rem; padding-top: 12rem; border-top: 0.1rem dashed var(--border-color); scroll-margin-top: 10rem; display: flex; flex-direction: column; align-items: center; }
.section-header { text-align: center; margin-bottom: 6rem; max-width: 100rem; }
.section-tag { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: 0.1em; display: inline-block; margin-bottom: 1.6rem; }
.section-title { font-size: 4rem; font-weight: 800; color: var(--text-dark); margin: 0 0 2rem 0; }
.section-title strong { color: var(--primary-color); }
.section-desc { font-size: 1.7rem; color: var(--text-gray); margin: 0; line-height: 1.8; word-break: keep-all; }
.concept-grid { width: 100%; max-width: 140rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; margin: 0 auto; }
.concept-card { background: var(--text-white); border-radius: var(--radius-lg); overflow: hidden; padding: 2.4rem; box-shadow: var(--shadow-md); }
.concept-image { width: 100%; overflow: auto; background: transparent; position: relative; height: 35rem !important; }
.concept-image img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-lg) - 1.2rem); object-position: top; }
.concept-body { padding: 3rem; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.concept-body .item-category { margin-bottom: 1rem; }
.concept-title { font-size: 2.2rem; margin: 0 0 1.5rem 0; font-weight: 800; }
.concept-desc { text-align: left; margin: 0; color: var(--text-gray); line-height: 1.6; }
.contact-floating-group { position: fixed; bottom: 3rem; right: 3rem; z-index: 105; display: flex; flex-direction: column; gap: 1.2rem; }
.btn-floating { display: flex; align-items: center; justify-content: center; width: 5.6rem; height: 5.6rem; border-radius: 50%; text-decoration: none; box-shadow: var(--shadow-md); border: 0.1rem solid var(--border-color); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-floating i { font-size: 2.4rem; color: var(--text-dark); transition: transform 0.3s ease; }
.btn-kakao { background: #FEE500; border-color: #FEE500; }
.btn-kakao i { color: #3C1E1E; }
.btn-top { background: var(--text-white); }
.btn-top:hover { background: var(--primary-color); border-color: var(--primary-color); }
.btn-top:hover i { color: var(--text-white); }
.security-watermark { position: relative; display: block; width: 100%; }
.security-watermark::before { content: "문서 보안\A열람 제한"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg); color: rgba(220, 53, 69, 0.9); border: 0.4rem solid rgba(220, 53, 69, 0.9); border-radius: 0.5rem; padding: 1rem 2rem; font-size: 2.4rem; font-weight: bold; text-align: center; white-space: pre-wrap; z-index: 10; pointer-events: none; }
.security-watermark img { display: block; width: 100%; height: auto; opacity: 0.7; filter: blur(0.5rem); }
.he100aut { height: auto !important; }
.cs-section { padding: 12rem 0; width: 100%; box-sizing: border-box; }
.container { max-width: 120rem; margin: 0 auto; padding: 0 4rem; }
.bg-tint { background-color: var(--bg-blue-tint); }
.bg-white { background-color: #FFFFFF; }
.bg-primary { background-color: #1f2937; }
.bg-deep-dark { background-color: #0F172A; }
.text-white { color: #FFFFFF !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.center { text-align: center; }
.cs-header { margin-bottom: 6rem; }
.cs-num { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); letter-spacing: 0.1em; margin-bottom: 1.6rem; display: block; }
.cs-title { font-size: 2.4rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-gray); }
.cs-headline { font-size: 4.4rem; font-weight: 800; line-height: 1.3; margin-bottom: 2.5rem; letter-spacing: -0.02em; word-break: keep-all; }
.cs-desc {font-size: 1.7rem;line-height: 1.7;word-break: keep-all;color: var(--text-gray);}
.max-800 { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: 6rem; }
.mt-8 { margin-top: 8rem; }
.background-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-bottom: 6rem; }
.bg-text-area { display: flex; flex-direction: column; }
.point-text { font-weight: 800; display: inline-block; position: relative; z-index: 1; }
.point-text.error {color: #626168;}
.point-text.error::after {position: absolute;bottom: 0;left: 0;width: 100%;height: 35%;background: rgb(236 176 189 / 15%);z-index: -1;}
.renewal-goal-box {background: #e3ecff;padding: 2rem;border-radius: 0.8rem;display: flex;align-items: flex-start;margin-top: 3.5rem;}
.renewal-goal-box i { font-size: 3rem; color: var(--primary-color); margin-top: -0.2rem; }
.renewal-goal-box p {font-size: 1.7rem;color: var(--text-dark);line-height: 1.6;margin: 0;word-break: keep-all;}
.renewal-goal-box strong { color: var(--primary-dark); font-weight: 800; }
.bg-asis-image { position: relative; width: 100%; border: 0.1rem solid var(--border-color); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.bg-asis-image img { background: #ddd; width: 100%; height: 100%; min-height: 25rem; border-radius: 1rem; object-fit: cover; }
.asis-label { position: absolute; top: 1.5rem; left: 1.5rem; background: rgba(0, 0, 0, 0.7); color: #FFFFFF; font-size: 1.3rem; font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 0.4rem; z-index: 10; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.problem-card { background: #FFFFFF; padding: 5rem 3rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 0.1rem solid var(--border-color); transition: transform 0.3s ease; }
.problem-card:hover { transform: translateY(-1rem); box-shadow: var(--shadow-md); }
.problem-card .card-num { font-size: 4rem; font-weight: 900; color: var(--bg-blue-tint); display: block; margin-bottom: 1rem; }
.problem-card .card-title { font-size: 2.2rem; font-weight: 800; color: var(--primary-color); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.problem-card .card-text { font-size: 1.7rem; font-weight: 700; line-height: 1.5; word-break: keep-all; color: var(--text-gray); }
.req-diagram { display: flex; flex-direction: column; gap: 4rem; max-width: 90rem; margin: 0 auto; overflow: hidden; padding: 2rem 0; }
.req-row { display: grid; grid-template-columns: 1fr auto 1fr 2fr; gap: 2rem; align-items: center; background: #F8FAFC; padding: 3rem; border-radius: var(--radius-lg); border: 0.1rem solid var(--border-color); transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.req-row:hover { background: #FFFFFF; box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.req-anim-left { opacity: 0; transform: translateX(-8rem); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.req-anim-right { opacity: 0; transform: translateX(8rem); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.req-anim-left.is-visible, .req-anim-right.is-visible { opacity: 1; transform: translateX(0); }
.req-box { padding: 1.5rem; border-radius: 1rem; font-size: 1.6rem; font-weight: 700; text-align: center; display: flex; flex-direction: column; gap: 0.5rem; }
.req-box span { font-size: 1.2rem; font-weight: 800; opacity: 0.7; letter-spacing: 0.05em; }
.req-box.prob { background: #E2E8F0; color: var(--text-gray); }
.req-box.sol { background: var(--primary-color); color: #FFFFFF; }
.req-arrow { font-size: 2.4rem; color: var(--text-gray); transform: rotate(-90deg); }
.req-desc { padding-left: 2rem; border-left: 0.1rem dashed var(--border-color); }
.req-desc strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.8rem; }
.req-desc p { font-size: 1.5rem; color: var(--text-gray); line-height: 1.6; word-break: keep-all; margin: 0; }
.strategy-diagram { display: flex; justify-content: space-between; align-items: center; max-width: 100rem; margin: 6rem auto 0; padding: 4rem; background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-lg); }
.strat-step { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 1rem; color: #FFFFFF; font-size: 1.8rem; font-weight: 700; }
.strat-step span { font-size: 1.3rem; color: var(--accent-cyan); font-weight: 800; letter-spacing: 0.1em; }
.strat-step.highlight { color: var(--accent-cyan); transform: scale(1.1); }
.strat-step.highlight span { color: #FFFFFF; }
.strat-arrow { font-size: 2.4rem; color: rgba(255, 255, 255, 0.3); transform: rotate(-90deg); }
.sec-end {padding: 14rem 0;width: 100%;display: flex;flex-direction: column;align-items: center;margin-top: 10rem;justify-content: center;}
.end-title { font-size: 4.8rem; font-weight: 800; color: #FFFFFF; line-height: 1.3; text-align: center; margin-bottom: 6rem; letter-spacing: -0.02em; }
.end-meta { display: flex; gap: 3rem; font-size: 1.6rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); align-items: center; margin-bottom: 8rem; flex-wrap: wrap; justify-content: center; }
.end-meta .year { color: var(--accent-cyan); font-weight: 900; font-size: 2rem; }

/* 스크롤 애니메이션 클래스 추가 */
.reveal-anim { opacity: 0; transform: translateY(8rem); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal-anim.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(3rem); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { 0% { opacity: 0; transform: translateX(5rem); } 100% { opacity: 1; transform: translateX(0); } }

@media (max-width: 1024px) {
  .btn-back-hero { position: absolute; top: 2rem; left: 2rem; padding: 0.8rem 1.6rem; font-size: 1.3rem; z-index: 150; }
  .mini-header-bar { padding: 1.6rem 2rem; }
  .header-left { gap: 1.6rem; max-width: 40%; }
  .mini-back-btn { padding-right: 1.6rem; }
  .mini-header-info { gap: 1.6rem; }
  .portfolio-header { min-height: auto; padding: 14rem 0 6rem 0; height: auto; overflow: visible; }
  .portfolio-header-inner { grid-template-columns: 1fr; gap: 4rem; text-align: center; padding: 0 2rem; }
  .hero-info-area { align-items: center; margin-top: 1rem; }
  .hero-meta-grid { align-items: center; border-top: 0.1rem solid rgba(255, 255, 255, 0.2); width: 100%; max-width: 45rem; }
  .meta-item { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2); padding: 0rem 0rem 3rem 0rem; }
  .meta-label { width: auto; margin-bottom: 0.2rem; }
  .role-bars { max-width: 100%; align-items: center; width: 100%; }
  .hero-visual-area { height: 40rem; width: 100%; margin-top: 2rem; }
  .primary-device { width: 100%; max-width: 42rem; left: auto; transform: none; position: relative; margin: 0 auto; }
  .secondary-device {width: 14rem;height: 30rem;max-width: none;right: auto;bottom: auto;aspect-ratio: auto;transform: translate(18rem, 6rem);}
  .portfolio-container { padding: 8rem 3rem 16rem 3rem; }
  .improvement-list { gap: 12rem; }
  .item-title { font-size: 3.2rem; }
  .mobile-screens-container { gap: 3rem; }
  .contact-floating-group { bottom: 3rem; right: 2rem; }
  .btn-floating { width: 5.2rem; height: 5.2rem; }
  .concept-grid { flex-direction: column; display: flex !important; }
  .security-watermark { width: 100%; }
  .security-watermark::before { border: 0.2rem solid rgba(220, 53, 69, 0.9); border-radius: 0.3rem; padding: 0.8rem 1.6rem; font-size: 1.6rem; }
  .security-watermark img { filter: blur(0.3rem); }
  .background-grid { grid-template-columns: 1fr; gap: 4rem; }
  .req-row { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .req-arrow { transform: rotate(0); }
  .req-desc { border-left: none; padding-left: 0; border-top: 0.1rem dashed var(--border-color); padding-top: 1.5rem; }
  .strategy-diagram { flex-direction: column; gap: 2rem; }
  .strat-arrow { transform: rotate(0); }
  .card-grid-3 {grid-template-columns: repeat(1, 1fr);}
  .problem-card .card-num {font-size: 3rem;}
}

@media (max-width: 768px) {
  .btn-back-hero { position: absolute; top: 1.5rem; left: 1.5rem; padding: 0.6rem 1.2rem; font-size: 1.2rem; }
  .mini-header-bar { padding: 1.2rem 1.6rem; justify-content: center; }
  .mini-header-info { display: none; }
  .mini-back-btn { padding-right: 1.2rem; border-right: none; }
  .mini-header-title { display: none; }
  .portfolio-header { padding: 7rem 0 4rem 0; }
  .project-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 1.8rem; }
  .hero-visual-area { height: 30rem; }
  .primary-device {width: 30rem;}
  .secondary-device {width: 10rem;height: 21rem;transform: translate(9rem, 5rem);}
  .portfolio-container { padding: 6rem 2rem 14rem 2rem; }
  .improvement-list { gap: 10rem; }
  .item-title { font-size: 2.8rem; }
  .item-desc { font-size: 1.5rem; }
  .mobile-screens-container { flex-direction: column; gap: 4rem; }
  .mobile-screen-wrapper { max-width: 40rem; height: 50rem; }
  .section-title { font-size: 2.8rem; }
  .concept-section { padding-top: 8rem; }
  .contact-floating-group { bottom: 2rem; right: 1.6rem; }
  .btn-floating { width: 4.8rem; height: 4.8rem; }
  .btn-floating i { font-size: 2.2rem; }
  .concept-image { height: auto !important; }
  .cs-section { padding: 8rem 0; }
  .cs-headline { font-size: 3.2rem; }
  .end-title { font-size: 3.2rem; }
  .end-meta { flex-direction: column; gap: 1.5rem; }
  .req-anim-left { transform: translateY(4rem); }
  .req-anim-right { transform: translateY(4rem); }
  .req-anim-left.is-visible, .req-anim-right.is-visible { transform: translateY(0); }
}