/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #FAF9F6;
    /* 은은한 베이지 */
    color: #333;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   🩺 커스텀 커서 팔로워 (의료 진단 커서)
══════════════════════════════════════════════════ */
#medical-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 75px !important;
    height: auto !important;
    pointer-events: none;
    z-index: 9999999 !important;
    opacity: 0;
    transform: translate(-200px, -200px);
    transition: opacity 0.3s ease;
    will-change: transform;
}

#medical-cursor-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    /* Exact offset so pointer matches click hotspot */
    transform: translate(-10px, -10px);
    transform-origin: top left;
}

#medical-cursor.medical-hover {
    width: 85px !important;
}

/* Hide custom cursor on mobile touch devices */
@media screen and (max-width: 768px) {
    #medical-cursor {
        display: none !important;
    }
}

#medical-cursor.medical-hover #medical-cursor-img {
    filter: drop-shadow(0 6px 18px rgba(38, 166, 154, 0.4));
}

@media screen and (max-width: 768px) {
    #medical-cursor {
        display: none !important;
    }
}

@keyframes pocaCursorWiggle {

    0%,
    100% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

@keyframes pocaCursorWiggleFast {

    0%,
    100% {
        transform: rotate(-10deg) scale(1.05);
    }

    50% {
        transform: rotate(10deg) scale(1.05);
    }
}

/* ══ 커스텀 커서 작동 시 전체 기본 커서 숨김 ══ */
body,
a,
button,
[role="button"] {
    cursor: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #4A90E2;
    /* 스카이 블루 */
    font-weight: 700;
}

/* ── 네비게이션 바 ── */
.navbar {
    position: relative;
    z-index: 10;
    padding: 18px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    /* 로고 그룹과 메뉴 수직 중앙 정렬 */
    justify-content: space-between;
}

/* 로고 이미지 + 텍스트 묶음 */
.logo-group {
    display: flex;
    align-items: center;
    /* 이미지와 텍스트 수직 중앙 정렬 */
    gap: 10px;
    line-height: 1;
    /* 줄간격 제거로 미세 어긋남 방지 */
}

/* 로고 원형 이미지 */
.nav-poca {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #26A69A;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #fff;
}

.nav-poca img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(1.5px, 5.3px) scale(1.2);
}

/* 로고 텍스트 */
.logo {
    font-size: 1.2rem;
    /* ← 글자 크기 조정 시 이 값 변경 */
    font-weight: 700;
    color: #26A69A;
    /* ← 로고 색상 변경 가능 */
    line-height: 1;
}

/* 네비 메뉴 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #26A69A;
}

/* 히어로 레이아웃 (상단) */
.hero {
    background: linear-gradient(135deg, #FAF9F6 0%, #E0F7FA 100%);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
    /* blob 배치 기준 */
}

/* ── Blob 배경 애니메이션 ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #26A69A, #80DEEA);
    top: -100px;
    left: -80px;
    animation: blobFloat1 10s ease-in-out infinite;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ff8a65, #ffcc80);
    top: 30px;
    right: -60px;
    animation: blobFloat2 13s ease-in-out infinite;
}

.hero-blob-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #b2dfdb, #e0f7fa);
    bottom: -60px;
    left: 40%;
    animation: blobFloat3 11s ease-in-out infinite;
}

@keyframes blobFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, 20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.97);
    }
}

@keyframes blobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-25px, 15px) scale(1.08);
    }

    70% {
        transform: translate(15px, -20px) scale(0.95);
    }
}

@keyframes blobFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -25px) scale(1.06);
    }
}

/* ── 텍스트 Fade-in Slide-up 애니메이션 ── */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    /* blob 위로 */
}

.hero-text .badge {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.1s;
}

.hero-text h1 {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.3s;
}

.hero-text p {
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.5s;
}

.poca-message-container {
    position: relative;
    display: inline-block;
    margin-top: 40px;
    animation: heroFadeUp 0.7s ease both;
    animation-delay: 0.7s;
}

.poca-avatar {
    display: block;
    cursor: pointer !important;
    transition: transform 0.15s ease;
    user-select: none;
}

.poca-avatar:active {
    transform: scale(0.93);
}

.poca-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(38, 166, 154, 0.25);
    border: 2px solid #26A69A;
    display: block;
}

.hero-mockup-container {
    animation: heroFadeUp 0.8s ease both;
    animation-delay: 0.5s;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ff5f56;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: bold;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.highlight {
    color: #26A69A;
    /* 민트 그린 */
}

.hero-text p {
    font-size: 1.25rem;
    color: #555;
    word-break: keep-all;
}

/* 아이폰 목업 컨테이너 및 애니메이션 */
.hero-mockup-container {
    flex: none;
    width: 400px;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone-frame {
    position: absolute;
    width: 260px;
    height: 530px;
    background: #0F1115;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #0F1115;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-left {
    z-index: 2;
    transform: translateX(-40px) translateY(-70px) rotate(-6deg);
    /* 위로 올림 ↑ */
}

.phone-right {
    z-index: 1;
    transform: translateX(40px) translateY(70px) rotate(6deg);
    /* 아래로 내림 ↓ */
}

/* 호버 시 펼쳐지는 효과 */
.hero-mockup-container:hover .phone-left {
    transform: translateX(-170px) translateY(-50px) rotate(-15deg);
}

.hero-mockup-container:hover .phone-right {
    transform: translateX(110px) translateY(90px) rotate(12deg);
}

/* ── 가상 앱 UI (phone-left 내부) ── */
.phone-app-screen {
    display: flex;
    flex-direction: column;
    background: #F7FDFC;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 앱 상단 헤더 */
.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 14px 10px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.app-logo-txt {
    font-size: 0.8rem;
    font-weight: 700;
    color: #26A69A;
}

.app-ai-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: #26A69A;
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
}

/* 검색창 */
.app-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 12px 0;
    background: #fff;
    border: 1.5px solid #26A69A;
    border-radius: 22px;
    padding: 7px 12px;
    box-shadow: 0 2px 8px rgba(38, 166, 154, 0.08);
    min-height: 34px;
}

.app-search-icon {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.app-search-input {
    font-size: 0.7rem;
    color: #333;
    word-break: keep-all;
    line-height: 1.3;
    flex: 1;
    transition: color 0.2s;
}

/* 증상 태그 행 */
.app-tags {
    display: flex;
    gap: 5px;
    padding: 8px 12px 6px;
    flex-wrap: wrap;
}

.app-tag {
    font-size: 0.62rem;
    font-weight: 600;
    background: #E8F5E9;
    color: #555;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.app-tag.active {
    background: #26A69A;
    color: #fff;
    border-color: #26A69A;
}

/* 결과 리스트 */
.app-result-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 6px 12px 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.app-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.app-result-item:last-child {
    border-bottom: none;
}

.app-result-icon {
    font-size: 1.1rem;
    width: 30px;
    height: 30px;
    background: #E0F7FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-result-info strong {
    font-size: 0.68rem;
    font-weight: 700;
    color: #333;
}

.app-result-info span {
    font-size: 0.6rem;
    color: #999;
}


/* 문제 제기 섹션 스타일 */
.problem-section {
    background: linear-gradient(to right, #f4f1ea 45%, #f4f1ea 45%);
    padding: 120px 0;
    color: #26A69A;
    overflow: hidden;
}

.problem-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* 왼쪽 영역 */
.problem-left {
    flex: 1;
    position: relative;
}

.problem-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -60px;
    left: -20px;
}

/* 포카 캐릭터와 서브타이틀 정렬을 위한 추가 스타일 */
.problem-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    /* PROBLEM 글자와 포카 사이 간격 */
    margin-bottom: 15px;
}

.problem-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #ff8a65;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0;
    /* wrapper에서 간격을 조절하므로 0으로 변경 */
}

/* 17번 포카 캐릭터 스타일 추가 */
.problem-poca {
    width: 65px;
    /* 캐릭터 크기 */
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    /* 아이들이 좋아할 만한 부드러운 움직임 효과 */
    animation: pocaBounce 2s infinite ease-in-out;
}

.problem-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.orange-line-short {
    width: 40px;
    height: 2px;
    background-color: #ff8a65;
    margin-bottom: 30px;
}

.problem-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #8a8888;
    max-width: 450px;
}

/* 오른쪽 카드 영역 */
.problem-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-card {
    background: #fff;
    padding: 35px 40px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ff8a65;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateX(10px);
}

.card-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #eee;
    font-style: italic;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 1rem;
    color: #777;
    line-height: 1.5;
    word-break: keep-all;
}

/* 포카 움직임 애니메이션 정의 */
@keyframes pocaBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* 모바일 대응 */
@media (max-width: 992px) {
    .problem-section {
        background: #f4f1ea;
        /* 기존 배경색 유지 */
        padding: 80px 20px;
    }

    .problem-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .problem-right {
        width: 100%;
        margin-top: 40px;
    }

    .problem-card {
        padding: 25px;
    }

    .problem-poca {
        width: 50px;
        /* 모바일에서는 조금 작게 */
    }
}





/* 앱 미리보기 섹션 레이아웃 */
.mockup-section {
    background-color: #f4f1ea;
    color: #26A69A;
    padding: 140px 0;
    overflow: hidden;
}

.preview-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ⬇️ 여기서부터 그대로 복사해서 맨 아래에 붙여넣으세요! */
.preview-container {
    position: relative;
    /* 포카 캐릭터의 기준점이 됩니다 */
}

.poka-character {
    position: absolute;
    top: 50%;
    /* 세로 기준 가운데 */
    left: 38%;
    /* 가로 기준 가운데 (텍스트와 목업 경계선) */
    transform: translate(-50%, -50%);
    /* 이미지 자체 중심을 정중앙으로 보정 */
    z-index: 5;
    /* 배경 텍스트나 목업보다 위로 올라오도록 설정 */

    /* 💡 캐릭터 크기는 화면 스케일에 맞춰 자유롭게 조절하세요 */
    width: 280px;
    height: auto;
}



/* 텍스트 영역 */
.preview-text-area {
    flex: 1;
    min-width: 300px;
}

.preview-main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
    white-space: normal;
    word-break: keep-all;
}

/* ==========================================
   * 핑크색 배경 박스 (정렬 방식 업데이트) *
   ========================================== */
.preview-mockup-area {
    flex: 1.5;
    background: #fdf0e9;
    /* 핑크색 배경 유지 */
    padding: 100px 50px;
    /* 기존 여백 유지 */
    border-radius: 60px;

    display: flex;
    /* 💡 내부 요소들을 가로로 나란히 배치 */
    justify-content: center;
    /* 가로 축 기준 중앙 정렬 */
    align-items: center;
    /* 세로 축 기준 중앙 정렬 */
    gap: 40px;
    /* 💡 포카와 핸드폰 목업 사이의 자연스러운 간격 */

    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
    position: relative;
    /* 하단 라벨 태그의 중심축 유지 */
}

/* ==========================================
   * 💡 왼쪽 포카 캐릭터 이미지 스타일 (새로 추가) *
   ========================================== */
.poka-left-character {
    height: 480px;
    /* 💡 핸드폰 목업 크기(780px)에 맞춰 균형 있게 조절한 높이 */
    width: auto;
    /* 가로 비율 자동 유지 */
    object-fit: contain;
    display: block;
    animation: floatingPoka 3s ease-in-out infinite;
    /* 은은한 움직임 효과 (선택사항) */
}


.mockup-wrapper {
    display: flex;
    align-items: center;
    gap: 35px;
    position: relative;
    /* 캐릭터 배치를 위해 추가 */
}

/* ---------------------------------------------------------
   [추가] 2번 따봉 포카 캐릭터 스타일 
   --------------------------------------------------------- */
.preview-poca-thumb {
    position: absolute;
    width: 130px;
    /* 존재감 있는 크기 */
    height: auto;
    /* 메인 목업(중앙)의 오른쪽 상단 뒤쪽에 배치 */
    right: 22%;
    top: -10px;
    z-index: 1;
    /* 목업보다는 뒤, 배경보다는 위 */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    /* 부드럽게 까딱거리는 애니메이션 */
    animation: pocaThumbMove 3s infinite ease-in-out;
    pointer-events: none;
    /* 클릭 방해 금지 */
}

@keyframes pocaThumbMove {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(5px, -10px) rotate(5deg);
    }
}

/* 실제 아이폰 기기 스타일 */
iphone-device {
    position: absolute;
    /* 💡 다른 세션을 밀어내지 않게 독립시킵니다 */
    top: 50%;
    /* 핑크색 박스 세로 중앙에 배치 */
    left: 50%;
    transform: translate(-50%, -50%);
    /* 정확한 정중앙 정렬 */

    width: 340px;
    /* 완벽했던 가로 폭 그대로 유지 */
    height: 780px;
    /* 👈 [원하시는 세로 길이!] 780px~800px 사이로 늘려보세요 */

    transition: transform 0.3s ease;
    z-index: 10;
    /* 핑크색 박스보다 앞으로 튀어나오게 설정 */
}

.iphone-device.side {
    width: 240px;
    transform: scale(0.85);
    opacity: 0.8;
}

.iphone-device.main-center {
    margin-bottom: 60px;
    z-index: 2;
    /* 캐릭터보다 위로 오도록 설정 */
}

/* 폰 본체 케이스 */
.iphone-case {
    position: relative;
    width: 100%;
    height: 640px;
    /* 💡 비율 대신 원하는 세로 높이를 직접 지정합니다! */
    background: #000;
    border-radius: 35px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #1a1a1a;
}

/* 아이폰 화면 */
.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
}

.iphone-screen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    /* 아이폰 화면 둥근 모서리에 맞춤 */
}

/* 노치 디자인 */
.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 24px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 25%;
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
}

/* 라벨 태그 */
.mockup-label-tag {
    position: absolute;
    /* 💡 늘어난 핸드폰 길이에 맞춰 둥둥 떠다니도록 변경 */
    bottom: 35px;
    /* 💡 늘어난 핸드폰 하단 면에서 정확히 40px 밑에 상시 대기 */
    left: 50%;
    transform: translateX(-50%);
    /* 주황색 라벨 글씨 정중앙 정렬 */
    white-space: nowrap;
    /* 글씨가 한 줄로 예쁘게 나오도록 고정 */

    display: inline-block;
    background: #e6d7d0;
    color: #a48c82;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 반응형 모바일 */
@media (max-width: 1024px) {
    .preview-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .poka-character {
        display: none;
    }

    .preview-mockup-area {
        width: 100%;
        padding: 80px 20px 40px 20px;
        margin-top: 40px;
    }

    .preview-poca-thumb {
        width: 80px;
        /* 모바일 크기 조정 */
        right: 15%;
        top: 20px;
        z-index: 3;
        /* 모바일은 겹침이 심하므로 맨 앞으로 */
    }

    .mockup-wrapper {
        gap: 15px;
    }

    /* ==========================================
   * 실제 아이폰 기기 스타일 (세로만 쏙 늘리기) *
   ========================================== */
    .iphone-device {
        position: absolute;
        /* 💡 핑크색 박스나 다음 섹션을 절대 밀어내지 않게 띄웁니다 */
        top: 50%;
        /* 핑크색 박스의 정확한 세로 정중앙 배치 */
        left: 50%;
        transform: translate(-50%, -50%);
        /* 가로세로 완벽한 센터 정렬 */

        width: 340px;
        /* 미나님이 만족해하신 완벽한 가로 폭 */
        height: 780px;
        /* 👈 [원하시는 세로 길이!] 어플 이미지가 다 보일 때까지 이 숫자만 조절하세요 */

        transition: transform 0.3s ease;
        z-index: 10;
        /* 핑크색 박스보다 무조건 앞으로 나오게 설정 */
    }

}

.iphone-device.side {
    width: 150px;
}

.iphone-device.main-center {
    margin-bottom: 40px;
}





/* 주요 기능 섹션 레이아웃 */
.key-features {
    background-color: #FAF9F6;
    padding: 120px 0;
}

.feature-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* 왼쪽 타이틀 영역 */
.feature-title-area {
    flex: 1;
}

.feature-subtitle {
    color: #ff5f56;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.feature-main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
    color: #26A69A;
}

.green-line {
    width: 35px;
    height: 3px;
    background-color: #ff8a65;
    margin-bottom: 30px;
}

.feature-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    word-break: keep-all;
}

/* 오른쪽 2x2 그리드 */
.feature-grid {
    flex: 1.8;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    /* 포카 배치를 위한 기준점 */
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    overflow: visible;
    /* 포카가 카드 밖으로 살짝 나가도록 설정 */
}

/* [추가] 6번 포카 캐릭터 스타일 */
.poca-card-icon {
    position: absolute;
    width: 70px;
    /* 카드 크기에 맞춘 적절한 사이즈 */
    top: -25px;
    /* 카드의 위쪽 경계에 걸침 */
    right: 15px;
    /* 오른쪽 상단 배치 */
    opacity: 0;
    /* 평소에는 숨김 */
    transform: translateY(10px) rotate(10deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #26A69A;
}

/* 카드 호버 시 포카가 뿅! 하고 나타나는 효과 */
.feature-card:hover .poca-card-icon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #f1f8e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-number {
    display: block;
    font-size: 0.75rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
}

/* 반응형 처리 */
@media (max-width: 1024px) {
    .feature-container {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 40px;
    }

    .poca-card-icon {
        width: 60px;
        top: -20px;
        opacity: 0.8;
        /* 모바일은 호버가 없으므로 항상 살짝 보이게 설정 가능 */
        transform: none;
    }
}





/* =======================================================
   UX RESEARCH DASHBOARD SECTION
   ======================================================= */
.persona-ux-section {
    background-color: #FAF9F6;
    padding: 120px 0;
}

.persona-ux-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.persona-header-title {
    margin-bottom: 50px;
    text-align: left;
}

.p-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: #26a69a;
    letter-spacing: 1.5px;
    display: block;
}

.p-main {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 12px 0;
    color: #1a1a1a;
}

.short-line {
    width: 40px;
    height: 4px;
    background-color: #26a69a;
    margin-bottom: 12px;
    border-radius: 2px;
}

.p-desc {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* UX Dashboard Grid */
.ux-dashboard-grid {
    display: flex;
    gap: 30px;
    perspective: 1200px; /* 3D Perspective Context */
}

.ux-card {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: visible; /* Changed from hidden to allow 3D floating layers */
    display: flex;
    flex-direction: column;
    gap: 24px;
    
    /* 3D Gyroscope Transforms */
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.ux-card:hover {
    box-shadow: 0 35px 60px rgba(0,0,0,0.12); /* Maximized depth shadow on hover */
}

/* Abstract Background Decorations */
.ux-card-bg-grid {
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background-image: radial-gradient(#e0e0e0 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    border-bottom-left-radius: 100%;
    /* Delay or decouple background shift for parallax */
    transform: translateZ(5px);
    transition: transform 0.3s ease;
}

.ux-card-bg-lines {
    position: absolute;
    bottom: 0; right: 0;
    width: 150px; height: 150px;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(38,166,154,0.05) 10px, rgba(38,166,154,0.05) 12px);
    pointer-events: none;
    z-index: 0;
    transform: translateZ(10px);
}

/* Card Header (Avatar + Info) */
.ux-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    /* 3D Internal Parallax Lift */
    transform: translateZ(35px);
    transition: transform 0.3s ease;
}

.ux-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.bg-mint { background: #26a69a; }
.bg-blue { background: #4a90e2; }

.ux-profile h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 4px;
    font-weight: 800;
}

.ux-profile p {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

/* Card Body (Data Blocks) */
.ux-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
    /* 3D Internal Parallax Lift */
    transform: translateZ(35px);
    transition: transform 0.3s ease;
}

.ux-data-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fcfcfc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.ux-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.badge-pain { background: #fff3e0; color: #e65100; }
.badge-goal { background: #e3f2fd; color: #1565c0; }
.badge-behavior { background: #e8f5e9; color: #2e7d32; }

.ux-data-block p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    word-break: keep-all;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .ux-dashboard-grid {
        flex-direction: column;
        gap: 40px; /* Generous vertical padding between cards */
    }

    .ux-card {
        width: 100%;
        box-sizing: border-box;
        /* Mobile Touch Protection - Reset 3D */
        transform: none !important;
    }

    .ux-card *, .ux-card-header, .ux-card-body {
        transform: none !important;
    }
}

/* =======================================================
   AI PROMPT SECTION (DARK MODE CHAT UI)
   ======================================================= */
.prompt-section {
    background-color: #FAF9F6;
    padding: 120px 0;
    overflow: hidden;
}

.prompt-container {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* 텍스트 설명 영역 (데스크탑: 좌측/우측 배치 융통성, 모바일: 상단) */
.prompt-text-area {
    flex: 0.8;
}

.small-title {
    color: #26a69a;
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    letter-spacing: 1px;
}

.main-title {
    font-size: 2.8rem;
    color: #1a1a1a;
    margin: 15px 0;
    font-weight: 800;
    line-height: 1.25;
}

.line {
    width: 50px;
    height: 4px;
    background: #26a69a;
    margin-bottom: 25px;
    border-radius: 2px;
}

.desc {
    color: #666;
    line-height: 1.7;
    word-break: keep-all;
    font-size: 1.05rem;
}

/* 다크 모드 대화창 */
.dark-chat-ui {
    flex: 1.2;
    background: #1e1e24; /* Dark sleek background */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header {
    background: #18181c;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.status-dot {
    color: #27c93f;
    font-size: 1.2rem;
    margin-right: 8px;
    text-shadow: 0 0 8px rgba(39, 201, 63, 0.6);
}

.header-title {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-height: 550px;
    overflow-y: auto;
}

/* 스크롤바 커스텀 */
.chat-content::-webkit-scrollbar {
    width: 6px;
}
.chat-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* 채팅 말풍선 기본 설정 */
.chat-bubble {
    padding: 18px 24px;
    border-radius: 16px;
    transition: transform 0.4s ease;
    max-width: 90%;
}

.dark-chat-ui:hover .chat-bubble {
    transform: translateY(-3px);
}

.msg-label {
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* 유저 말풍선 */
.user-bubble {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border-bottom-right-radius: 4px;
}

.user-bubble .msg-label {
    color: #aaa;
    text-align: right;
}

.user-bubble p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* AI 말풍선 */
.ai-bubble {
    align-self: flex-start;
    background: #ffffff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ai-bubble .msg-label {
    color: #26a69a;
}

.ai-content .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.ai-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-content li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

.ai-content strong {
    color: #26a69a;
    font-weight: 800;
    margin-right: 4px;
}

/* Chat Animation Utils */
.typing-caret::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: #fff;
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: blink-caret 0.7s step-end infinite;
}

@keyframes blink-caret {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

.pulse-anim {
    animation: badge-pulse 1.5s infinite;
}

@keyframes badge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(38, 166, 154, 0); }
    100% { box-shadow: 0 0 0 0 rgba(38, 166, 154, 0); }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .prompt-container {
        flex-direction: column;
        gap: 40px;
    }

    /* 텍스트 설명이 위로 올라가게 설정 */
    .prompt-text-area {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .line {
        margin: 0 auto 25px auto;
    }

    .dark-chat-ui {
        width: 100%;
        box-sizing: border-box;
    }

    .chat-bubble {
        max-width: 100%;
    }
}


/* 공통 섹션 배경색 및 간격 조정 */
.ai-utilization-section,
.conclusion-section {
    padding: 140px 0;
    /* 상하 패딩을 키워 섹션의 공간감을 확보 */
    background-color: #f4f1ea;
}



/* =======================================================
   AI UTILIZATION (INFOGRAPHIC TIMELINE)
   ======================================================= */
.ai-utilization-section {
    background-color: #f8fcfb; /* Very light mint/white */
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.utilization-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.util-title-area {
    margin-bottom: 80px;
}

.util-subtitle {
    color: #26a69a;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.util-main-title {
    font-size: 3.2rem;
    margin: 15px 0;
    color: #1a1a1a;
    font-weight: 800;
}

.brand-line.center-line {
    margin: 0 auto 30px auto;
    width: 60px;
    height: 4px;
    background: #26a69a;
    border-radius: 2px;
}

.util-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* Timeline Layout */
.ai-process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Horizontal Connector Line */
.timeline-connector {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

/* Process Cards */
.process-card {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: #26a69a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 0 0 6px #f8fcfb;
}

.util-tag {
    font-size: 1.4rem;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.util-purpose {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    min-height: 50px;
}

.util-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Elegant Pill Badges */
.tool-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.tool-badge.claude { background: #fdf2f0; color: #d85c45; }
.tool-badge.perplexity { background: #eef6f8; color: #008fa6; }
.tool-badge.figma { background: #f9f0ff; color: #a259ff; }
.tool-badge.gamma { background: #f4f4f4; color: #444; }
.tool-badge.copilot { background: #f0f7ff; color: #1a73e8; }

.util-frequency {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.freq-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.freq-bar {
    flex: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.freq-bar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: #26a69a;
}

.freq-bar.high::after { width: 90%; }
.freq-bar.mid::after { width: 60%; background: #4a90e2; }

.freq-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
}

/* Mobile Fluidity */
@media screen and (max-width: 768px) {
    .ai-process-timeline {
        flex-direction: column;
        gap: 20px;
    }

    /* Hide horizontal line on mobile */
    .timeline-connector {
        display: none;
    }

    .process-card {
        width: 100%;
        box-sizing: border-box;
    }

    .util-purpose {
        min-height: auto;
    }
}

/* =======================================================
   PROCESS (INFINITE MARQUEE TRACK)
   ======================================================= */
.process-marquee-section {
    background-color: #f8fcfb;
    padding: 120px 0;
    overflow: hidden;
}

.marquee-header {
    margin: 0 auto 60px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    word-break: keep-all;
}

.process-subtitle {
    color: #ff5f56;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.process-main-title {
    font-size: 3.5rem;
    color: #26a69a;
    line-height: 1.2;
    margin: 15px 0;
    font-weight: 800;
}

.brand-line.center-line {
    width: 60px;
    height: 4px;
    background-color: #26a69a;
    margin: 15px 0;
}

.duration-main.justify-center {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.duration-main .weeks {
    font-size: 1.5rem;
    font-weight: 800;
    color: #222;
}

.duration-main .dates {
    font-size: 1.1rem;
    color: #888;
}

.marquee-track-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0; /* space for hover shadow/lift */
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollMarquee 20s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* Shift by half width minus half gap */
}

.marquee-card {
    width: 350px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.marquee-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.week-num {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(38, 166, 154, 0.15); /* Sleek premium medical mint tint */
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.marquee-card .week-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: #26a69a;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.marquee-card h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 800;
}

.marquee-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    word-break: keep-all;
    flex-grow: 1;
}

.card-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* Tool Badges matching previous design */
.card-tools .tool-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
.card-tools .notion { background: #f0f0f0; color: #333; }
.card-tools .perplexity { background: #eef6f8; color: #008fa6; }
.card-tools .figma { background: #f9f0ff; color: #a259ff; }
.card-tools .claude { background: #fdf2f0; color: #d85c45; }
.card-tools .firebase { background: #fff3e0; color: #f57c00; }
.card-tools .gamma { background: #f4f4f4; color: #444; }

/* Mobile Viewport Adaptability */
@media screen and (max-width: 768px) {
    .marquee-track {
        animation: none !important;
        transform: none !important;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .marquee-card {
        width: 100%;
        box-sizing: border-box;
    }

    /* Hide the duplicated cards on mobile to prevent redundancy */
    .marquee-card:nth-child(n+5) {
        display: none;
    }
}

/* =======================================================
   OUTRO / EPILOGUE SECTION (Letter to Viewer)
   ======================================================= */
.summary-conclusion {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 120px 20px; /* added horizontal padding for safety */
    box-sizing: border-box;
}

.conclusion-title {
    font-size: 3.2rem;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.3;
}

.conclusion-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Thank You Letter Styles */
.thanks-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 25px 0 15px 0;
    word-break: keep-all;
}

.signature {
    font-size: 1rem;
    font-style: italic;
    color: #26a69a;
    font-weight: 600;
    margin-bottom: 50px;
}

/* Capsule Badges container */
.conclusion-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Tag overrides for clean minimalist look */
.conclusion-tags .tag-badge {
    border: 1px solid #ddd;
    background: transparent; /* changed from #fff to transparent for gauge */
    color: #666;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    z-index: 1; /* ensure text is above gauge */
}

/* Infinite Looping Green Progress Gauge */
.conclusion-tags .tag-badge.animated-gauge::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: rgba(38, 166, 154, 0.2); /* Soft mint tint */
    z-index: -1;
    animation: progressFill 3s linear infinite;
}

@keyframes progressFill {
    0% { width: 0%; opacity: 1; }
    80% { width: 100%; opacity: 1; }
    95% { width: 100%; opacity: 0; }
    100% { width: 0%; opacity: 0; }
}

/* Mobile Adaptability */
@media screen and (max-width: 768px) {
    .summary-conclusion {
        padding: 80px 20px;
    }
    
    .conclusion-title {
        font-size: 2.5rem;
    }
    
    .thanks-message {
        font-size: 1rem;
    }
}

.conclusion-title span {
    color: #26a69a;
    font-weight: 800;
}

.conclusion-desc {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.9;
}

.tag-badge {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 60px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 8px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

.tag-badge.highlight {
    background: #26a69a;
    color: #fff;
    border-color: #26a69a;
}




/* ==========================================================================
   작업 과정 섹션 (Process) - 화사한 민트 & 화이트 테마 (포카 캐릭터 버전)
   ========================================================================== */

.section.process {
    background-color: #f0f7f4;
    color: #ff5f56;
    font-weight: 700;
    padding: 120px 0;
}

.process-container {
    display: flex;
    gap: 60px;
    /* 좌우 간격 (기존 80px에서 조정) */
    align-items: flex-start;
    max-width: 1200px;
    /* 중앙 정렬을 위해 추가 권장 */
    margin: 0 auto;
}

/* 왼쪽 영역 */
.process-left {
    flex: 1.1;
    /* 사용 도구 박스 영역 */
}


.box-label {
    display: block;
    font-size: 0.85rem;
    color: #26A69A;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* 작업 기간 박스 */
.content-box.duration-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.duration-main .weeks {
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 15px;
    color: #1a1a1a;
}

.duration-main .dates {
    font-size: 1rem;
    color: #999;
}

/* 프로그레스 바 */
.progress-bar-container {
    margin-top: 35px;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #26A69A, #80ced6);
    border-radius: 10px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #777;
    font-weight: 600;
}

/* 사용 도구 그리드 */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.tool-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 25px 15px;
    /* 캐릭터 공간 확보를 위해 패딩 수정 */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(38, 166, 154, 0.15);
    border-color: #26A69A;
}

/* 포카 캐릭터 아이콘 전용 스타일 */
.tool-icon {
    width: 60px;
    /* 원형 배경 크기 */
    height: 60px;
    margin: 0 auto 15px;
    background: #f4f7f6;
    /* 캐릭터 뒤 은은한 배경색 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-icon img {
    width: 85%;
    /* 캐릭터가 원 안에 쏙 들어가도록 조절 */
    height: auto;
    object-fit: contain;
}

.tool-item:hover .tool-icon {
    background: #ffffff;
    transform: scale(1.1);
}

.tool-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #333;
    font-weight: 700;
}

.tool-info span {
    font-size: 0.75rem;
    color: #999;
}

.process-right {
    flex: 0.9;
    /* 4주간의 작업 과정 영역 */
}

.process-main-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
    color: #26A69A;
}

.orange-line {
    width: 45px;
    height: 5px;
    background-color: #26A69A;
    /* 일관성을 위해 민트로 수정 */
    margin-bottom: 45px;
    border-radius: 2px;
}

/* 주차별 리스트 스타일 */
.week-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 40px;
    border-left: 2px solid #e0f2f1;
}

.week-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #26A69A;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(38, 166, 154, 0.3);
}

.week-label {
    font-size: 0.8rem;
    color: #26A69A;
    font-weight: 800;
    letter-spacing: 1px;
}

.week-item h3 {
    font-size: 1.4rem;
    margin: 8px 0;
    color: #333;
}

.week-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

/* 반응형 */
@media (max-width: 992px) {
    .process-container {
        flex-direction: column-reverse;
        gap: 60px;
    }

    .tool-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 3에서 2로 변경 */
        gap: 20px;
    }
}







/* 푸터 기본 스타일 유지 */
.thank-you {
    background: #E0F7FA;
    color: #333;
    text-align: center;
    padding: 100px 0;
}

.thank-you h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    word-break: keep-all;
    display: flex;
    /* 요소 정렬을 위해 추가 */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* 모바일 대응 */
    gap: 10px;
}

.brand-logo {
    display: flex;
    align-items: center;
    color: #26a69a;
    /* 브랜드 컬러 강조 */
}

/* 청진기 아이콘 크기 조절 */
.stetho-question-container {
    display: inline-block;
    width: 30px;
    height: 45px;
    margin-left: 5px;
}

.stetho-svg {
    width: 100%;
    height: 100%;
}

/* 포카 캐릭터 스타일링 */
.poka-footer-wrapper {
    display: inline-block;
    margin-left: 15px;
}

.footer-poka {
    width: 60px;
    /* 캐릭터 크기 최적화 */
    height: auto;
    transform-origin: bottom center;
    transition: all 0.3s ease;
}

/* 마우스 호버 시 응원하듯 살짝 커지는 효과 */
.footer-poka:hover {
    transform: scale(1.15) rotate(5deg);
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.5px;
    margin-top: 10px;
}


/* 반응형 모바일 최적화 */
@media (max-width: 992px) {
    .thank-you h2 {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-mockup-container {
        width: 100%;
        margin-top: 60px;
        transform: scale(0.85);
    }

    .mockup-grid,
    .persona-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .step {
        margin-bottom: 40px;
    }
}





/* ==========================================================================
   네비게이션 스타일 (수정 부분)
   ========================================================================== */

.navbar {
    width: 100%;
    padding: 20px 0;
    position: fixed;
    /* 상단 고정으로 변경하여 접근성 향상 */
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    /* 배경색 추가 및 투명도 조절 */
    backdrop-filter: blur(10px);
    /* 배경 블러 효과로 고급스러움 추가 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* 경계 구분을 위한 옅은 그림자 */
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #26A69A;
    /* 서비스 포인트 컬러와 통일 */
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 4px;
    position: relative;
}

/* 마우스 올렸을 때 애니메이션 효과 */
.nav-menu li a:hover {
    color: #26A69A;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #26A69A;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* 부드러운 스크롤 효과 */
html {
    scroll-behavior: smooth;
}

/* 히어로 섹션 상단 여백 (고정 메뉴 공간 확보) */
.hero {
    padding-top: 160px;
    /* 고정 메뉴 높이에 맞춰 여백 증가 */
}

/* 네비게이션 모바일 대응 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* 모바일에서는 메뉴 숨김 (필요 시 햄버거 메뉴 구현 가능) */
    }

    .navbar {
        padding: 15px 0;
    }
}

/* ==========================================================================
   기타 전역 및 섹션 스타일 (유지)
   ========================================================================== */
/* ... 이후 제공해주신 전역 스타일, 히어로, 문제 제기, 섹션 코드들은 그대로 유지됩니다 ... */



/* 청진기 아이콘 스타일 조정 (header h1)*/
.stethoscope-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: -2px;
}

.stethoscope-icon svg {
    width: 0.85em;
    /* 크기를 아주 살짝 키워 가독성 확보 */
    height: auto;
    margin-bottom: 0.1em;
    /* 약간의 입체감을 위해 그림자 효과 추가 */
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.highlight {
    display: inline-flex;
    align-items: center;
}


/* 어디아파 ?(청진기) 스타일 (주요기능섹션 h2)*/
/* 청진기 물음표 컨테이너 */
/* 텍스트 색상 및 타이틀 스타일 */
.feature-main-title {
    color: #26a69a;
    /* 이미지와 동일한 청록색 */
    font-size: 3.5rem;
    line-height: 1.3;
    font-weight: 800;
}

/* 청진기 물음표 컨테이너 */
.stetho-question-container {
    display: inline-block;
    vertical-align: middle;
    width: 0.9em;
    height: 1.3em;
    margin-left: 2px;
    position: relative;
    top: -0.05em;
}

/* SVG 스타일 */
.stetho-svg {
    width: 100%;
    height: 100%;
}


/* 전체 타이틀 스타일 (footer전 단계 h2)*/
.footer-title {
    font-size: 1.5rem;
    /* 문구 크기에 맞춰 적절히 조절 가능 */
    color: #333;
    line-height: 1.6;
    font-weight: 600;
}

/* 강조될 브랜드 로고 부분 */
.brand-logo {
    color: #26a69a;
    /* 이미지와 동일한 청록색 */
    font-weight: 800;
    margin-left: 5px;
    display: inline-flex;
    align-items: center;
}

/* 청진기 물음표 컨테이너 */
.stetho-question-container {
    display: inline-block;
    width: 0.9em;
    height: 1.3em;
    margin-left: 2px;
    position: relative;
    top: -0.05em;
}

/* SVG 스타일 */
.stetho-svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   포카 캐릭터 시각화 최적화 (Nav 확대 및 Header 대형화)
   ========================================================================== */

/* 1. 네비게이션 로고 그룹 (얼굴이 선명하게 보이도록) */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-poca {
    /* 기존보다 훨씬 키워서 얼굴 윤곽이 뚜렷하게 보이게 함 */
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    /* 선명도를 위해 테두리를 더 굵고 깔끔하게 변경 */
    border: 4px solid #26A69A;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-poca img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 얼굴이 원형의 정중앙에 오도록 오프셋 조절 */
    transform: translate(3px, 11px) scale(1.2);
    image-rendering: -webkit-optimize-contrast;
}

/* 2. 히어로 섹션 (캐릭터 단독 노출 및 초대형화) */
.poca-message-container {
    position: relative;
    display: inline-block;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out;
}

.poca-avatar img {
    width: 180px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
    image-rendering: auto;
}

/* 3. 말풍선 및 불필요 요소 완전 제거 */
.speech-bubble,
.bubble-tail {
    display: none !important;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   css 추가된 효과 <header>부분의 hero효과
   ========================================= */
/* =============================================
   Hero 추가 효과: 타이핑 애니메이션 + 스크롤 목업
   ============================================= */

/* 타이핑 커서 */
.typing-cursor {
    display: inline-block;
    width: 4px;
    height: 0.8em;
    background: #26A69A;
    margin-left: 4px;
    border-radius: 2px;
    vertical-align: middle;
    animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 타이핑 텍스트 줄 */
.hero-typing-line {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #26A69A;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    min-height: 1.25em;
}

/* 스크롤 연동: 폰 펼치기 */
.hero-mockup-container {
    transition: all 0.3s ease;
}

.iphone-frame {
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 0.7s ease;
}

.hero-mockup-container.spread .phone-left {
    transform: translateX(-155px) translateY(30px) rotate(-12deg);
    box-shadow: -20px 40px 80px -12px rgba(0, 0, 0, 0.3);
}

.hero-mockup-container.spread .phone-right {
    transform: translateX(105px) translateY(-20px) rotate(10deg);
    box-shadow: 20px 40px 80px -12px rgba(0, 0, 0, 0.3);
}

/* 스텝 인디케이터 도트 */
.scroll-steps {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    z-index: 10;
}

.scroll-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C8E6E3;
    transition: background 0.3s, transform 0.3s;
}

.scroll-step-dot.active {
    background: #26A69A;
    transform: scale(1.5);
}

/* 스텝 라벨 → 포카 머리 위 오른쪽 말풍선 */
.step-label {
    position: absolute;
    top: 0px;
    left: 165px;
    /* 포카 180px 기준 비례 조정 */
    display: inline-block;
    background: #fff;
    color: #26A69A;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 22px;
    box-shadow: 0 6px 24px rgba(38, 166, 154, 0.25);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    border: 2px solid #c8f0ec;
    z-index: 10;
}

/* 말풍선 왜쪽 꼬리 → 포카 머리 방향 */
.step-label::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 14px 8px 0;
    border-style: solid;
    border-color: transparent #c8f0ec transparent transparent;
}

.step-label::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 10px 6px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.step-label.show {
    opacity: 1;
    transform: translateX(0);
}

/* 데모 영역 스타일 */
.interactive-demo-wrapper {
    margin-top: 20px;
}

.mini-iphone:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

/* 슬라이더 페이드 효과 */
#autoSliderImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ══════════════════════════════════════════════════════════
   📱 MOCKUP SECTION V2 — 프리미엄 SaaS 앱 미리보기 섹션
   기존 색상 시스템 유지, 레이아웃만 전면 개선
══════════════════════════════════════════════════════════ */

.mockup-section-v2 {
    background-color: #f4f1ea;
    /* 기존 mockup-section 배경색 유지 */
    padding: 120px 0;
    overflow: hidden;
}

/* 전체 2컬럼 레이아웃 */
.mockup-v2-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ── 좌측 텍스트 영역 ── */
.mockup-v2-text {
    flex: 0 0 45%;
}

.mockup-v2-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ff8a65;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.mockup-v2-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    color: #26A69A;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.mockup-v2-accent {
    color: #333;
}

.mockup-v2-divider {
    width: 44px;
    height: 3px;
    background: #ff8a65;
    border-radius: 2px;
    margin-bottom: 22px;
}

.mockup-v2-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #666;
    word-break: keep-all;
    margin-bottom: 32px;
}

/* 핵심 기능 리스트 */
.mockup-v2-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.mockup-v2-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feat-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #26A69A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1px;
}

.mockup-v2-features li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-v2-features li strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #333;
}

.mockup-v2-features li span {
    font-size: 0.85rem;
    color: #888;
}

/* 배지 */
.mockup-v2-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mv2-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #fff;
    color: #555;
    border: 1.5px solid #ddd;
}

.mv2-badge.accent {
    background: #26A69A;
    color: #fff;
    border-color: #26A69A;
}


/* ── 우측: 입체 폰 그룹 ── */
/*
 =====================================================
 [📱 위치 조절 가이드]
 각 .mv2-phone-X 클래스에서:
   left / right     : 좌우 위치 (%) — 기준: .mockup-v2-phones
   top / bottom     : 상하 위치 (%) — 기준: .mockup-v2-phones
   transform        : rotate(Xdeg) 기울기, translateX/Y 미세조정
   z-index          : 앞/뒤 레이어 순서 (높을수록 앞)
 .mv2-phone-frame 내 height: 로 각 폰 높이 조절
 (width는 자동으로 비율 유지)
 =====================================================
*/
.mockup-v2-phones {
    flex: 0 0 45%;
    position: relative;
    height: 700px;
    /* ★ 세로 길이를 대폭 늘려 화면이 더 잘 보이도록 함 */
}

/* 공통 폰 래퍼 */
.mv2-phone {
    position: absolute;
}

/* 공통 폰 프레임 */
.mv2-phone-frame {
    position: relative;
    background: #111;
    border-radius: 32px;
    border: 2px solid #222;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    /* perfect smartphone viewport scale */
}

/* 메인(가운데) 프레임 강조 */
.mv2-main-frame {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.28),
        0 0 0 3px rgba(38, 166, 154, 0.35);
}

/* 노치 */
.mv2-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 18px;
    background: #111;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

/* 화면 영역 */
.mv2-phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
}

/* 스크롤 인터랙션용 이미지 — 아래 호버 CSS와 연동됨 */
.mv2-phone-screen img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: translateY(0%);
    transition: transform 7.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 👈 속도를 기존 2.4초에서 4.5초로 부드럽게 늦춤 */
    will-change: transform;
}

/* ──────────────────────────────────────────
   📱 폰 A (왼쪽) · 폰 C (오른쪽 메인) — 2개 배치
   비율을 텍스트 영역에 맞게 더 스마트하게 조절
────────────────────────────────────────── */

/* 뒤에 있는 날씬한 목업 A */
.mv2-phone-A {
    position: absolute;
    width: 55%;
    /* 부모 너비 안에서 적정 비율 유지 */
    left: 0;
    bottom: 0;
    z-index: 3;
}

.mv2-phone-A .mv2-phone-frame {
    transform: rotate(-5deg);
    border-radius: 28px;
}

/* 앞에 있는 메인 목업 C */
.mv2-phone-C {
    position: absolute;
    width: 55%;
    /* 목업 A보다 넓은 가로 폭 유지 */
    right: -5%;
    /* 오른쪽으로 살짝 붙여서 균형 조절 */
    top: 5%;
    z-index: 5;
}

.mv2-phone-C .mv2-phone-frame {
    transform: rotate(4deg);
    border-radius: 30px;
}


/* ══════════════════════════════════════════════════════════
   📱 MOCKUP HOVER SCROLL INTERACTION
   마우스를 올리면 이미지가 위로 흘러 앱 내용 확인
══════════════════════════════════════════════════════════ */

/* 폰 전체 hover 공통 — 살짝 떠오르는 효과 */
.mv2-phone {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.4s ease;
}

/* 폰 A 호버 — 위로 스크롤 */
.mv2-phone-A:hover .mv2-phone-screen img {
    transform: translateY(-55%);
}

.mv2-phone-A:hover {
    transform: translateY(-14px);
    filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.22));
    z-index: 10;
}

/* 폰 C 호버 — 위로 스크롤 */
.mv2-phone-C:hover .mv2-phone-screen img {
    transform: translateY(-60%);
}

.mv2-phone-C:hover {
    transform: rotate(4deg) translateY(-14px);
    filter: drop-shadow(0 40px 60px rgba(38, 166, 154, 0.3));
    z-index: 10;
}

/* 호버된 폰 외 나머지 살짝 흐리게 */
.mockup-v2-phones:hover .mv2-phone:not(:hover) {
    filter: brightness(0.85) saturate(0.8);
    transition: filter 0.3s ease;
}


/* ── 반응형 ── */
@media (max-width: 1024px) {
    .mockup-v2-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .mockup-v2-text {
        flex: none;
        max-width: 100%;
    }

    .mockup-v2-phones {
        width: 100%;
        min-width: 0;
        height: 500px;
    }
}

@media (max-width: 600px) {
    .mockup-v2-title {
        font-size: 2.4rem;
    }

    .mockup-v2-phones {
        height: 420px;
    }

    .mv2-phone-C .mv2-phone-frame {
        height: 400px;
    }

    .mv2-phone-A .mv2-phone-frame {
        height: 320px;
    }
}

/* ══════════════════════════════════════════════════════════
   ⌨️ TEXT TYPING CURSOR INTERACTION
   왼쪽 특징 리스트 순차 타이핑용 커서 및 애니메이션
══════════════════════════════════════════════════════════ */
.typing-active {
    position: relative;
    display: inline-block;
}
.typing-active::after {
    content: '|';
    position: absolute;
    right: -8px;
    top: -1px;
    color: #26A69A;
    font-weight: 300;
    animation: typingBlink 0.6s infinite steps(2, start);
}

@keyframes typingBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* =======================================================
   📱 MOBILE RESPONSIVE OPTIMIZATION (MAX-WIDTH: 768px)
   ======================================================= */
@media screen and (max-width: 768px) {
  /* 1. Fluid Layout & General Padding */
  * { box-sizing: border-box; }
  body, html { width: 100%; overflow-x: hidden; }
  .section, .hero { padding-left: 20px; padding-right: 20px; }
  
  /* 2. Typography Adjustments */
  h1, h2 { word-break: keep-all; }
  .hero-text h1 { font-size: 2.2rem; line-height: 1.3; }
  .feature-main-title, .util-main-title, .process-main-title, .conclusion-title { font-size: 2.2rem; }
  .problem-main-title { font-size: 2rem; }
  .p-main { font-size: 2rem; }
  
  /* 3. Hero Section Stack */
  .hero-wrapper { flex-direction: column; text-align: center; gap: 40px; padding-top: 100px; }
  .hero-mockup-container { width: 100%; margin-top: 20px; transform: scale(0.9); }
  .hero-text { margin: 0 auto; text-align: center; align-items: center; display: flex; flex-direction: column; }
  .hero-text p { text-align: center; }
  
  /* 4. Problem Section */
  .problem-container { flex-direction: column; gap: 40px; text-align: center; }
  .problem-left .orange-line-short { margin: 20px auto; }
  
  /* 5. Mockup Section */
  .mockup-v2-container { flex-direction: column; text-align: center; align-items: center; }
  .mockup-v2-features li { justify-content: center; text-align: left; }
  .mockup-v2-badges { justify-content: center; }
  
  /* 6. Feature Grids */
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 30px; text-align: center; }
  
  /* 7. Persona Layout */
  .persona-row-card { flex-direction: column; text-align: center; gap: 15px; }
  .persona-img-box { margin: 0 auto; }
  .persona-poca-peek { position: relative; display: block; margin: 10px auto; right: auto; bottom: auto; }
  
  /* 8. Prompt/Chat Section */
  .prompt-container { flex-direction: column-reverse; gap: 40px; }
  .prompt-text-area { text-align: center; }
  .prompt-text-area .line { margin: 20px auto; }
  
  /* 9. AI Utilization Table -> Card Layout */
  .utilization-wrapper { flex-direction: column; gap: 30px; }
  .util-table-area { padding: 20px; border-radius: 15px; }
  .util-table-header { display: none; /* hide headers on mobile */ }
  .util-row { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px; 
    padding: 20px 10px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
  }
  .util-row > div { width: 100%; text-align: left; padding: 0; }
  .util-tools { display: flex; flex-wrap: wrap; gap: 5px; }
  
  /* 10. Process Section */
  .process-container { flex-direction: column; gap: 40px; }
  .process-left, .process-right { width: 100%; }
  
  /* 11. Conclusion & Footer */
  .summary-conclusion { padding: 60px 0; text-align: center; }
  .conclusion-tags { flex-direction: column; gap: 15px; }
  .ending-character { position: relative; margin-top: 30px; right: auto; bottom: auto; }
  .thank-you { padding: 60px 20px; }
  .thank-you h2 { font-size: 1.5rem; }
}

@media screen and (max-width: 480px) {
  .hero-text h1 { font-size: 1.8rem; }
  .feature-main-title, .problem-main-title { font-size: 1.8rem; }
  .mockup-v2-phones { height: 350px; }
}

/* =======================================================
   🩺 PROBLEM SECTION — Interactive Phone Mockup Layout
   ======================================================= */

/* Section outer container */
.problem-new-container {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Left Column ── */
.prob-left {
    flex: 0 1 560px; /* Constrain max width so tabs don't overlap the phone */
    min-width: 0;
    margin-right: auto; /* Push phone to the right */
}

.prob-left .problem-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ff5f56;
    margin-bottom: 20px;
}

.prob-left .problem-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #26a69a;
    line-height: 1.3;
    margin: 0 0 20px;
    word-break: keep-all;
}

.prob-left .orange-line-short {
    width: 44px;
    height: 4px;
    background: #ff5f56;
    border-radius: 2px;
    margin-bottom: 20px;
}

.prob-left .problem-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 36px;
    word-break: keep-all;
}

/* ── Interactive Tabs ── */
.prob-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prob-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 2px solid transparent;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.prob-tab:hover {
    background: #e8f5f4;
    border-color: #80cbc4;
    transform: translateX(4px);
}

.prob-tab.active {
    background: #ffffff;
    border-color: #26a69a;
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.15);
    transform: translateX(6px);
}

.tab-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #e0e0e0;
    min-width: 36px;
    transition: color 0.3s ease;
    line-height: 1;
}

.prob-tab.active .tab-num,
.prob-tab:hover .tab-num {
    color: #26a69a;
}

.tab-text {
    flex: 1;
}

.tab-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.tab-text p {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
    word-break: keep-all;
}

.tab-arrow {
    font-size: 1.1rem;
    color: #ccc;
    transition: all 0.3s ease;
    opacity: 0;
}

.prob-tab.active .tab-arrow,
.prob-tab:hover .tab-arrow {
    opacity: 1;
    color: #26a69a;
}

/* ── Right Column — Phone Mockup ── */
.prob-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0; /* Safe clearing space removed for baseline alignment */
}

.phone-mockup {
    width: 280px;
    height: 560px;
    border-radius: 44px;
    border: 8px solid #2a2a2a;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 2px #555 inset,
        0 8px 20px rgba(0,0,0,0.1);
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background: #f8fffe;
    overflow: hidden;
    position: relative;
}

/* ── Phone Slides ── */
.phone-slide {
    position: absolute;
    inset: 0;
    padding: 50px 18px 20px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.slide-logo {
    font-size: 0.8rem;
    font-weight: 800;
    color: #26a69a;
}

.slide-ai-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #26a69a;
    padding: 3px 8px;
    border-radius: 20px;
}

.slide-symptom-tag {
    display: inline-block;
    background: #e8f5f4;
    color: #26a69a;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

.slide-question {
    font-size: 0.88rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Choice Cards (Tab 01 & 02) */
.slide-choice-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.slide-choice-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px;
    border-radius: 16px;
    text-align: center;
}

.choice-a {
    background: #e3f2fd;
}

.choice-b {
    background: #f3e5f5;
}

.choice-icon {
    font-size: 1.8rem;
}

.slide-choice-card strong {
    font-size: 0.8rem;
    color: #222;
    display: block;
}

.slide-choice-card span {
    font-size: 0.68rem;
    color: #888;
}

.slide-choice-vs {
    font-size: 0.75rem;
    font-weight: 800;
    color: #bbb;
}

/* AI answer bar at bottom */
.slide-ai-answer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: #888;
    background: #f0fffe;
    border: 1px solid #b2dfdb;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: auto;
}

.ai-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26a69a;
    animation: aiPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes aiPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* History rows (Tab 03) */
.slide-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.history-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.hist-date {
    font-size: 0.68rem;
    color: #aaa;
    min-width: 54px;
}

.hist-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

.tag-green { background: #e8f5e9; color: #2e7d32; }
.tag-blue  { background: #e3f2fd; color: #1565c0; }
.tag-orange{ background: #fff3e0; color: #e65100; }
.tag-pink  { background: #fce4ec; color: #c62828; }

.hist-dept {
    font-size: 0.68rem;
    color: #999;
    min-width: 44px;
    text-align: right;
}

/* =======================================================
   PROBLEM SECTION — MOBILE RESPONSIVE (768px and below)
   ======================================================= */
@media screen and (max-width: 768px) {
    .problem-new-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
    }

    .prob-left .problem-main-title {
        font-size: 2rem;
    }

    .prob-tab {
        transform: none !important;
    }

    .prob-right {
        width: 100%;
    }

    .phone-mockup {
        width: 240px;
        height: 460px;
        border-radius: 36px;
        border-width: 6px;
    }
}

@media screen and (max-width: 480px) {
    .prob-left .problem-main-title {
        font-size: 1.7rem;
    }

    .phone-mockup {
        width: 210px;
        height: 400px;
    }
}

/* =======================================================
   🃏 KEY FEATURES — 3D FLIP CARD SYSTEM
   ======================================================= */

/* Grid container with perspective */
.flip-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    perspective: 1200px;
    width: 100%;
    box-sizing: border-box;
}

/* Individual flip card wrapper */
.flip-card {
    height: 300px;
    cursor: pointer;
    outline: none;
}

/* Inner — the thing that rotates */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* Trigger flip on hover AND keyboard focus */
.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
}

/* Shared front + back styles */
.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    overflow: hidden;
}

/* ── FRONT FACE ── */
.flip-card-front {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flip-card-front .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0faf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.flip-card-front .feature-number {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #26a69a;
}

.flip-card-front h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.flip-card-front p {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

.flip-hint {
    margin-top: auto;
    font-size: 0.72rem;
    color: #bbb;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ── BACK FACE ── */
.flip-card-back {
    background: linear-gradient(145deg, #f8fffe 0%, #e8f5f4 100%);
    border: 2px solid #b2dfdb;
    box-shadow: 0 12px 40px rgba(38, 166, 154, 0.15);
    padding: 22px 20px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Back header bar */
.fb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #b2dfdb;
}

.fb-logo {
    font-size: 0.82rem;
    font-weight: 800;
    color: #26a69a;
}

.fb-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: #26a69a;
    color: #fff;
    padding: 3px 9px;
    border-radius: 20px;
}

.fb-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* ────────────────────────────────────
   FEATURE 01 BACK: AI Progress Bar
──────────────────────────────────── */
.fb-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-progress-bar {
    flex: 1;
    height: 10px;
    background: #daf0ee;
    border-radius: 20px;
    overflow: hidden;
}

.fb-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #26a69a, #80cbc4);
    border-radius: 20px;
    /* Activates on card-back visible state */
    .flip-card:hover & {
        animation: fillBar 1.4s ease forwards 0.3s;
    }
}

/* Fallback for older syntax */
.flip-card:hover .fb-progress-fill,
.flip-card:focus .fb-progress-fill {
    animation: fillBar 1.4s ease forwards 0.3s;
}

@keyframes fillBar {
    from { width: 0%; }
    to   { width: 100%; }
}

.fb-progress-pct {
    font-size: 0.75rem;
    font-weight: 800;
    color: #26a69a;
    min-width: 36px;
    text-align: right;
}

.fb-status-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #555;
}

.fb-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #26a69a;
    animation: aiPulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.fb-result-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #b2dfdb;
    border-radius: 12px;
    padding: 10px 14px;
    margin-top: auto;
    opacity: 0;
}

.flip-card:hover .fb-result-box,
.flip-card:focus .fb-result-box {
    animation: fadeInUp 0.5s ease forwards 1.5s;
}

.fb-result-icon { font-size: 1.1rem; }

.fb-result-txt {
    font-size: 0.85rem;
    font-weight: 700;
    color: #26a69a;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ────────────────────────────────────
   FEATURE 02 BACK: Ranking List
──────────────────────────────────── */
.fb-rank-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.fb-rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateY(-10px);
}

.rank-1 { border-left-color: #26a69a; }
.rank-2 { border-left-color: #80cbc4; }
.rank-3 { border-left-color: #b2dfdb; }

.flip-card:hover .rank-1,
.flip-card:focus .rank-1 { animation: slideRank 0.4s ease forwards 0.3s; }
.flip-card:hover .rank-2,
.flip-card:focus .rank-2 { animation: slideRank 0.4s ease forwards 0.55s; }
.flip-card:hover .rank-3,
.flip-card:focus .rank-3 { animation: slideRank 0.4s ease forwards 0.8s; }

@keyframes slideRank {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rank-badge {
    font-size: 0.65rem;
    font-weight: 800;
    background: #e8f5f4;
    color: #26a69a;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 40px;
    text-align: center;
}

.rank-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.rank-pct {
    font-size: 0.88rem;
    font-weight: 800;
    color: #26a69a;
}

/* ────────────────────────────────────
   FEATURE 03 BACK: Bar Chart
──────────────────────────────────── */
.fb-chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chart-grid {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 0 0;
    border-bottom: 2px solid #b2dfdb;
    border-left: 2px solid #b2dfdb;
    min-height: 100px;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    height: 0;
    background: linear-gradient(180deg, #26a69a, #80cbc4);
    border-radius: 4px 4px 0 0;
}

.flip-card:hover .chart-bar,
.flip-card:focus .chart-bar {
    animation: growBar 0.6s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes growBar {
    from { height: 0; }
    to   { height: var(--h, 60%); }
}

.bar-label {
    font-size: 0.58rem;
    color: #888;
    margin-top: 4px;
    white-space: nowrap;
    position: absolute;
    bottom: -18px;
}

.chart-bar { position: relative; }

.chart-caption {
    font-size: 0.68rem;
    color: #999;
    text-align: center;
    padding-top: 4px;
}

/* ────────────────────────────────────
   FEATURE 04 BACK: Notification
──────────────────────────────────── */
.fb-notification {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-20px);
    opacity: 0;
}

.flip-card:hover .fb-notification,
.flip-card:focus .fb-notification {
    animation: slideNotif 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
}

@keyframes slideNotif {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.notif-bar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.notif-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.notif-body strong {
    font-size: 0.78rem;
    color: #26a69a;
    display: block;
    margin-bottom: 4px;
}

.notif-body p {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

.fb-notif-sub {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.notif-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #777;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid #e0f0ee;
}

.notif-sub-tag {
    font-size: 0.68rem;
    font-weight: 700;
    background: #e8f5f4;
    color: #26a69a;
    padding: 2px 8px;
    border-radius: 10px;
}

/* =======================================================
   FLIP CARD — MOBILE RESPONSIVE (768px and below)
   ======================================================= */
@media screen and (max-width: 768px) {
    .flip-card-grid {
        grid-template-columns: 1fr;
        perspective: none;
        gap: 20px;
    }

    .flip-card {
        height: auto;
    }

    /* On mobile: disable 3D flip, stack front + back vertically */
    .flip-card-inner {
        transform: none !important;
        transform-style: flat;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .flip-card-front,
    .flip-card-back {
        position: static;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        transform: none !important;
        width: 100%;
        box-sizing: border-box;
    }

    .flip-card-front {
        border-radius: 20px 20px 0 0;
        border-bottom: none;
    }

    .flip-card-back {
        border-radius: 0 0 20px 20px;
        border-top: none;
    }

    .flip-hint { display: none; }

    /* Trigger animations on mobile (no hover) */
    .fb-progress-fill { animation: fillBar 1.4s ease forwards 0.3s; }
    .fb-result-box    { animation: fadeInUp 0.5s ease forwards 1.5s; }
    .rank-1           { animation: slideRank 0.4s ease forwards 0.3s; }
    .rank-2           { animation: slideRank 0.4s ease forwards 0.55s; }
    .rank-3           { animation: slideRank 0.4s ease forwards 0.8s; }
    .chart-bar        { animation: growBar 0.6s ease forwards; animation-delay: var(--delay, 0s); }
    .fb-notification  { animation: slideNotif 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s; }
}

/* =======================================================
   KEY FEATURES — Section Layout & Typography
   ======================================================= */

/* Section overall layout: title left, cards right */
.key-features {
    background: #fafaf9;
}

.feature-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Left: Title Column ── */
.feature-title-area {
    flex: 0 0 260px;
    position: sticky;
    top: 120px;   /* stays visible while scrolling past the cards */
}

.feature-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #26a69a;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* Clean horizontal title — no vertical letter stacking */
.feature-main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    line-height: 1.25;
    margin: 0 0 16px;
    word-break: keep-all;    /* prevents single-letter wrap in Korean */
    white-space: normal;     /* never force nowrap */
    writing-mode: horizontal-tb;   /* ensure horizontal rendering */
}

/* Concise subtitle description */
.feature-desc-short {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #666;
    margin-top: 15px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* ── Right: Flip Card Grid expands ── */
.flip-card-grid {
    flex: 1;
    min-width: 0;
}

/* =======================================================
   KEY FEATURES — MOBILE RESPONSIVE (768px and below)
   ======================================================= */
@media screen and (max-width: 768px) {
    .feature-container {
        flex-direction: column;
        gap: 36px;
        padding: 0 20px;
    }

    .feature-title-area {
        flex: none;
        width: 100%;
        position: static;   /* remove sticky on mobile */
        text-align: center;
    }

    .feature-main-title {
        font-size: 1.75rem;
    }

    .feature-desc-short {
        font-size: 0.95rem;
        margin-top: 10px;
    }

    .flip-card-grid {
        width: 100%;
    }
}

/* =======================================================
   📱 MAIN SCREENS — Parallax Phone Showcase
   ======================================================= */

.mockup-parallax-section {
    background: linear-gradient(160deg, #f0faf8 0%, #ffffff 60%, #f5f5f0 100%);
    overflow: hidden;
}

/* ── Outer container: two-column flex ── */
.mockup-parallax-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── LEFT: Text column ── */
.mockup-sticky-text {
    flex: 1;
    max-width: 550px;
    padding-top: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0;
}

/* Re-use existing eyebrow / title / accent / divider / desc classes */
.mockup-v2-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #26a69a;
    margin-bottom: 14px;
    text-transform: uppercase;
    text-align: left;
}

.mockup-v2-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #222;
    margin: 0 0 16px;
    text-align: left;
}

.mockup-v2-accent {
    color: #26a69a;
}

.mockup-v2-divider {
    width: 40px;
    height: 4px;
    background: #26a69a;
    border-radius: 2px;
    margin: 0 0 20px 0;
}

.mockup-v2-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 28px 0;
    word-break: keep-all;
    text-align: left;
    max-width: none;
    width: 100%;
}

.secondary-cta-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #26a69a;
    background: rgba(38, 166, 154, 0.05);
    border: 2px solid #26a69a;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.secondary-cta-btn:hover {
    background: #26a69a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.2);
}

/* ── Checklist with hover glow ── */
.mockup-v2-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.feat-item:hover,
.feat-item.active {
    background: #e8f5f4;
    border-color: #80cbc4;
    box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
}

.feat-item:hover .feat-check,
.feat-item.active .feat-check {
    background: #26a69a;
    color: #fff;
    box-shadow: 0 0 12px rgba(38, 166, 154, 0.5);
}

.feat-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f5f4;
    color: #26a69a;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feat-item div strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.feat-item div span {
    font-size: 0.82rem;
    color: #888;
}

/* ── Badges ── */
.mockup-v2-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mv2-badge {
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 2px solid #ccc;
    color: #555;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mv2-badge:hover {
    border-color: #26a69a;
    color: #26a69a;
}

.mv2-badge.accent {
    background: #26a69a;
    border-color: #26a69a;
    color: #fff;
}

.mv2-badge.accent:hover {
    background: #1e8e83;
    border-color: #1e8e83;
}

/* ── RIGHT: Phone parallax container ── */
/* ── RIGHT: Deconstructed Layer UI Showcase ── */
.deconstructed-ui-container {
    flex: 1;
    position: relative;
    height: 600px;
    min-width: 0;
    perspective: 1000px;
}

/* Layer Base */
.ui-layer {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s ease;
    box-sizing: border-box;
}

.ui-layer img {
    display: block;
    width: 100%;
    height: auto;
}

/* Back Layer */
.layer-back {
    width: 260px;
    top: 60px;
    left: 10%;
    z-index: 1;
    transform: rotateY(-15deg) rotateX(5deg) scale(0.9);
}

/* Front Layer */
.layer-front {
    width: 290px;
    top: 0;
    right: 5%;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(2deg);
}

/* Hover Effects on Container */
.mockup-parallax-container:hover .layer-front {
    transform: translateY(-30px) translateX(20px) scale(1.05) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 45px 80px rgba(0,0,0,0.15);
}

.mockup-parallax-container:hover .layer-back {
    transform: translateY(20px) translateX(-20px) scale(0.85) rotateY(-20deg) rotateX(10deg);
    filter: brightness(0.9);
}

/* =======================================================
   MAIN SCREENS — MOBILE RESPONSIVE (768px and below)
   ======================================================= */
@media screen and (max-width: 768px) {
    .mockup-parallax-container {
        flex-direction: column;
        gap: 40px;
        padding: 60px 20px 20px 20px; /* Generous top padding to clear overlaps */
        min-height: auto;
        align-items: center;
        clear: both;
    }

    .mockup-sticky-text {
        flex: none;
        width: 100%;
        position: static;   /* disable sticky */
        text-align: center;
        padding-top: 20px;
    }

    .mockup-v2-title {
        font-size: 2rem;
    }

    .mockup-v2-features {
        text-align: left;
    }

    .mockup-v2-badges {
        justify-content: center;
    }

    /* Stack deconstructed layers on mobile */
    .deconstructed-ui-container {
        width: 100%;
        height: auto;
        perspective: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding-bottom: 20px;
    }

    .ui-layer {
        position: static;
        width: 85%;
        max-width: 100%;
        transform: none !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        border-radius: 16px;
    }

    /* Disable hover effects on touch devices */
    .mockup-parallax-container:hover .layer-front,
    .mockup-parallax-container:hover .layer-back {
        transform: none;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        filter: none;
    }
}

/* ── Header Mobile Button Base ── */
.mobile-menu-btn {
    display: none;
}

/* =======================================================
   HEADER & HERO — MOBILE RESPONSIVE (768px and below)
   ======================================================= */
@media screen and (max-width: 768px) {
    /* Navbar */
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: #26a69a;
        line-height: 1;
        margin-left: auto;
    }

    /* Hero Wrapper */
    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        word-break: keep-all;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    /* Mockup Container */
    .hero-mockup-container {
        height: auto;
        min-height: 520px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        margin-top: 20px;
        z-index: 1;
    }

    /* Reset absolute overlap constraints */
    .iphone-frame {
        position: absolute;
        width: 230px;
        height: 480px;
        transform: none !important;
        transition: none !important;
    }

    .phone-left {
        z-index: 2;
        left: 50%;
        transform: translateX(-50%) !important;
        top: 0;
    }

    .phone-right {
        z-index: 1;
        left: 50%;
        transform: translateX(-35%) translateY(40px) scale(0.9) !important;
        top: 0;
    }
}

/* =======================================================
   KEY FEATURES - HEADING STYLES
   ======================================================= */
.feature-main-title {
    font-size: 3rem;
    color: #222; /* Deep charcoal/black */
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
}

.feature-accent {
    color: #26a69a; /* Premium medical mint/green */
}

.feature-syllable {
    position: relative;
    display: inline-block;
}

.feature-syllable::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Position directly underneath */
    width: 100%;
    height: 6px; /* Thick horizontal line */
    background-color: #26a69a; /* Matching green tint */
    border-radius: 4px; /* Rounded ends */
}

@media screen and (max-width: 768px) {
    .feature-main-title {
        font-size: 2.2rem;
        word-break: keep-all; /* Prevent awkward word breaks */
    }
}

/* =======================================================
   AI UTILIZATION - FREQUENCY GAUGE ANIMATIONS
   ======================================================= */
.util-frequency {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.freq-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 700;
    white-space: nowrap;
}

.freq-bar-track {
    flex-grow: 1;
    height: 6px;
    background-color: #eaeaea; /* Gray placeholder track */
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.freq-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%; /* Default start */
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Card 1: 매일 (Mint Green) */
.gauge-fill-1 {
    background-color: #26a69a;
    animation: fillGaugeMax 2.5s infinite alternate ease-in-out;
}

/* Card 2 & 3: 자주 (Blue tint) */
.gauge-fill-2, .gauge-fill-3 {
    background-color: #4a90e2; 
    animation: fillGaugeMid 2.5s infinite alternate ease-in-out;
}

@keyframes fillGaugeMax {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fillGaugeMid {
    0% { width: 0%; }
    100% { width: 65%; } /* Maxes out at 65% for '자주' */
}

/* Text Pulses Synchronized */
.freq-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: #444;
    white-space: nowrap;
}

.text-pulse-1, .text-pulse-2, .text-pulse-3 {
    animation: textPulse 2.5s infinite alternate ease-in-out;
}

@keyframes textPulse {
    0% { opacity: 0.4; transform: scale(0.95); color: #888; }
    100% { opacity: 1; transform: scale(1); color: #222; }
}

@media screen and (max-width: 768px) {
    .util-frequency {
        box-sizing: border-box;
}
}

/* =======================================================
   APP PREVIEW - FEATURE CARDS & CTA
   ======================================================= */
.feature-card-box-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.single-fc-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
}

.fc-hover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.single-fc-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(38, 166, 154, 0.18);
    border-color: #26a69a;
}

.single-fc-card:hover .fc-hover-glow {
    opacity: 1;
    transform: translate(-50%, -55%);
}

.single-fc-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.single-fc-content {
    padding: 35px 30px;
    text-align: center;
    width: 100%;
}

.single-fc-content h4 {
    font-size: 1.65rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 800;
}

.single-fc-content p {
    font-size: 1.15rem;
    color: #777;
    line-height: 1.5;
}

.mockup-cta-container {
    text-align: center;
    margin-top: 60px;
    width: 100%;
}

.modal-cta-container {
    text-align: center;
    margin-top: 25px;
    width: 100%;
}

.modal-btn-style {
    font-size: 1.05rem;
    padding: 14px 30px;
    width: 100%;
    justify-content: center;
}

.cta-beta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(38, 166, 154, 0.3);
    transition: all 0.3s ease;
}

.cta-beta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(38, 166, 154, 0.4);
    color: #fff;
}

.cta-icon {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .fc-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================================================
   FEATURE MODAL & SLIDER
   ======================================================= */
.feature-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feature-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.modal-content {
    position: relative;
    background: #EFECE1; /* Premium light beige tone */
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transform: scale(0.95);
    transition: all 0.3s ease;
    z-index: 10001;
}

.feature-modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 1px solid #777;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    pointer-events: auto;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.modal-showcase {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-text-block {
    text-align: center;
    margin-bottom: 35px;
    padding: 0 20px;
}

.modal-header-title {
    font-size: 1.45rem;
    color: #00796B; /* Deep teal/mint */
    margin-bottom: 12px;
    font-weight: 800;
}

.modal-body-desc {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    word-break: keep-all;
}

/* Ensure cursor pointer explicitly for CTA */
.cta-beta-btn {
    cursor: pointer;
    z-index: 100001;
    position: relative;
    pointer-events: auto;
}