/* =====================================================
   WHY ME Section
   ===================================================== */

.why-me-section {
    padding: 120px 20px;
    background: var(--dark);
}

.why-me-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.why-me-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

/* 전환 구간 */
.why-me-transition {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 500px;
    padding: 60px 0;
}

.transition-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 225, 0, 0.3), rgba(0, 163, 255, 0.3), transparent);
}

.transition-text {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

/* 세로 점 */
.why-me-dots {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 0.8;
    letter-spacing: 5px;
}

/* =====================================================
   Pain Point Section
   ===================================================== */

.pain-section {
    padding: 120px 20px 80px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(180, 40, 0, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 45%, rgba(255, 80, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 50%, rgba(200, 50, 0, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 55%, rgba(255, 100, 0, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, var(--dark-deeper) 0%, rgba(40, 8, 0, 0.3) 40%, var(--dark-deeper) 85%, var(--dark-deeper) 100%);
}

.pain-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* 차트 우상향 후 급락 */
.pain-chart {
    width: 100%;
    max-width: 700px;
    margin-bottom: -20px;
}

.pain-chart canvas {
    width: 100%;
    height: auto;
    display: block;
}

.pain-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.pain-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-normal);
}

.pain-card:hover {
    border-color: rgba(255, 68, 68, 0.2);
    transform: translateY(-3px);
}

.pain-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red);
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
}

.pain-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 14px;
}

.pain-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.pain-closing {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    line-height: 2;
    color: var(--white);
    text-align: center;
}

/* 환청 - 악마의 속삭임 */
.pain-whisper {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    color: rgba(255, 68, 68, 0.4);
    font-style: italic;
    letter-spacing: 0.05em;
    animation: whisperFloat 3s ease-in-out infinite, whisperGlow 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.15);
}

@keyframes whisperFloat {
    0%, 100% { transform: translateX(-3px) scale(1); }
    25% { transform: translateX(2px) scale(1.01); }
    50% { transform: translateX(-2px) scale(0.99); }
    75% { transform: translateX(3px) scale(1.01); }
}

@keyframes whisperGlow {
    0%, 100% { color: rgba(255, 68, 68, 0.3); text-shadow: 0 0 20px rgba(255, 68, 68, 0.1); }
    50% { color: rgba(255, 68, 68, 0.55); text-shadow: 0 0 30px rgba(255, 68, 68, 0.25); }
}

/* 한 줄씩 떨어지는 문단 */
.pain-drop {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.pain-dots {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.12);
    line-height: 0.8;
    letter-spacing: 5px;
    text-align: center;
}

.pain-emphasis {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 2;
    color: var(--white);
    text-align: center;
}

.pain-ending {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.8;
    color: var(--white);
    text-align: center;
}

/* 잔고 카운터 */
.balance-drain {
    text-align: center;
    padding: 48px 0;
}

.balance-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.balance-number.draining {
    color: var(--red);
}

/* 질문 */
.pain-question {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 0.02em;
}

.pain-question-shake {
    animation: whisperFloat 3s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.pain-question-main {
    color: rgba(255, 255, 255, 0.35);
}

.pain-dots-bridge {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .pain-section {
        padding: 80px 15px 60px;
    }

    .pain-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pain-card {
        padding: 28px 20px;
    }
}

/* =====================================================
   인간의 한계 Section
   ===================================================== */

.limit-section {
    padding: 120px 20px 60px;
    margin-top: -1px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0, 80, 160, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, var(--dark-deeper) 0%, var(--dark-deeper) 100%);
}

.limit-inner {
    max-width: 760px;
    margin: 0 auto;
}

.limit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}

.limit-headline {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.6;
    color: var(--white);
    letter-spacing: -0.02em;
}

.limit-text {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
}

.limit-text strong {
    color: var(--white);
}

.limit-core {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    line-height: 1.8;
    color: var(--white);
}

.limit-core strong {
    color: var(--yellow);
}

.limit-box {
    width: 100%;
    max-width: 480px;
    padding: 32px 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--red);
}

.limit-box-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: left;
}

.limit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.limit-item {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.limit-item::before {
    content: '·';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

.limit-conclusion {
    font-size: clamp(1.15rem, 2.8vw, 1.4rem);
    font-weight: 700;
    line-height: 2;
    color: var(--white);
}

.limit-divider {
    width: 40px;
    height: 1px;
    background: var(--glass-border);
}

@media (max-width: 768px) {
    .limit-section {
        padding: 80px 15px;
    }

    .limit-box {
        padding: 24px 20px;
    }
}

/* =====================================================
   CRAFT Section — 제작 약속
   ===================================================== */

.craft-section {
    padding: 20px 20px 120px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 80, 160, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 163, 255, 0.06) 0%, transparent 50%),
        linear-gradient(to bottom, var(--dark-deeper) 0%, var(--dark-deeper) 40%, var(--dark) 100%);
    margin-top: -1px;
}

.craft-inner {
    max-width: 760px;
    margin: 0 auto;
}

.craft-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    text-align: center;
}

/* 조건 나열 — "나만의 기법이 있다면" */
.craft-conditions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.craft-condition {
    font-weight: 600;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.4s ease;
}

.craft-condition:nth-child(1) { font-size: clamp(1.15rem, 2.6vw, 1.4rem); color: rgba(255, 255, 255, 0.55); }
.craft-condition:nth-child(2) { font-size: clamp(1.0rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, 0.45); }
.craft-condition:nth-child(3) { font-size: clamp(1.05rem, 2.3vw, 1.25rem); color: rgba(255, 255, 255, 0.5); }
.craft-condition:nth-child(4) { font-size: clamp(1.2rem, 2.8vw, 1.5rem); color: rgba(255, 255, 255, 0.6); }

.craft-conditions.visible .craft-condition {
    animation: conditionFadeIn 0.5s ease forwards;
    opacity: 0;
}

.craft-conditions.visible .craft-condition:nth-child(1) { animation-delay: 0s; }
.craft-conditions.visible .craft-condition:nth-child(2) { animation-delay: 0.15s; }
.craft-conditions.visible .craft-condition:nth-child(3) { animation-delay: 0.3s; }
.craft-conditions.visible .craft-condition:nth-child(4) { animation-delay: 0.45s; }

@keyframes conditionFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 메인 헤드라인 */
.craft-headline {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.6;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-top: 32px;
}

/* 터미널 코드 UI */
.craft-terminal {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 163, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.craft-terminal .terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.craft-terminal .terminal-dots {
    display: flex;
    gap: 6px;
}

.craft-terminal .terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.craft-terminal .terminal-dot.red { background: #FF5F56; }
.craft-terminal .terminal-dot.yellow { background: #FFBD2E; }
.craft-terminal .terminal-dot.green { background: #27C93F; }

.craft-terminal .terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
}

.craft-terminal-body {
    background: rgba(0, 0, 0, 0.35);
    padding: 28px 32px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: clamp(0.72rem, 1.5vw, 0.85rem);
    line-height: 2;
}

.code-line {
    white-space: pre-wrap;
    color: rgba(255, 255, 255, 0.75);
}

.code-indent1 { padding-left: 2em; }
.code-indent2 { padding-left: 4em; }

.code-keyword { color: #FF79C6; font-weight: 600; }
.code-func { color: #50FA7B; }
.code-string { color: #F1FA8C; }
.code-comment { color: rgba(255, 255, 255, 0.3); font-style: italic; }
.code-output { color: rgba(255, 255, 255, 0.4); }

.code-cursor {
    color: rgba(255, 255, 255, 0.6);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .craft-terminal-body {
        padding: 20px 16px;
        font-size: 0.68rem;
    }
}

/* 로딩 도트 */
.craft-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.craft-loading-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: craftPulse 1.4s ease-in-out infinite;
}

.craft-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.craft-loading-dot:nth-child(3) { animation-delay: 0.4s; }

.craft-loading-yellow .craft-loading-dot {
    background: rgba(255, 225, 0, 0.15);
    animation-name: craftPulseYellow;
}

@keyframes craftPulse {
    0%, 80%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        background: var(--blue);
        transform: scale(1.3);
    }
}

@keyframes craftPulseYellow {
    0%, 80%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        background: var(--yellow);
        transform: scale(1.3);
    }
}

/* "절대 대충 만들지 않습니다" — 도장 찍기 효과 */
.craft-promise {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}

.craft-promise.visible {
    animation: promisePulse 2.5s ease-in-out infinite;
}

@keyframes promisePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(0, 163, 255, 0.1);
    }
    50% {
        transform: scale(1.06);
        text-shadow: 0 0 20px rgba(0, 163, 255, 0.35);
    }
}

.craft-sub {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 600;
    line-height: 2;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

/* 제작 프로세스 3단계 */
.craft-process {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.craft-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
}

.craft-step-media {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.craft-step-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    transition: opacity var(--transition-normal);
}

.craft-step:hover .craft-step-img {
    opacity: 1;
}

.craft-step-carousel {
    border: none;
    overflow: visible;
}

.craft-step-carousel .consult-carousel-label {
    margin-bottom: 16px;
}

.craft-step-carousel .carousel-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.craft-step-carousel .carousel-dots {
    margin-top: 12px;
}

.craft-step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.craft-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
}

.craft-step-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.craft-step-desc {
    font-size: clamp(0.88rem, 2vw, 0.95rem);
    line-height: 1.9;
    color: var(--white);
}

.craft-step-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .craft-section {
        padding: 80px 15px;
    }

    .craft-content {
        gap: 40px;
    }

    .craft-step {
        gap: 16px;
    }

    .craft-step-media {
        max-width: 320px;
    }

    .craft-step-line {
        height: 28px;
    }
}

/* =====================================================
   WHY ME Section (continued)
   ===================================================== */

/* 도입 질문 */
.why-me-question {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.8;
    color: var(--white);
}

/* 건축 → 전환 답변 */
.why-me-answer {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
}

.why-me-answer strong {
    color: inherit;
}

/* 메인 헤드라인 */
.why-me-headline {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* 건축 비유 - 2열 그리드 */
.why-me-analogy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin: 12px 0;
}

.analogy-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.analogy-card:hover {
    transform: translateY(-3px);
}

.analogy-card.negative {
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(255, 68, 68, 0.04);
}

.analogy-card.highlight {
    border-color: rgba(0, 163, 255, 0.4);
    background: rgba(0, 163, 255, 0.06);
    box-shadow: var(--shadow-blue);
}

.analogy-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.analogy-img {
    aspect-ratio: 5 / 4;
}

.analogy-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.analogy-card:hover .analogy-img img {
    transform: scale(1.03);
}

.analogy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 28px;
    transition: background var(--transition-normal);
}

.analogy-label {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: left;
    line-height: 1.4;
    color: var(--white);
}

.analogy-divider {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    margin: 14px 0;
}

.negative-divider {
    background: var(--red);
}

.highlight-divider {
    background: var(--yellow);
}

.analogy-sub {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

.analogy-sub strong {
    color: rgba(255, 255, 255, 0.85);
}

/* 브릿지 텍스트 */
.why-me-bridge {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    margin: 8px 0;
}

/* 일반 본문 */
.why-me-text {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
}

.why-me-text strong {
    color: var(--white);
}

/* 프로필 카드 */
.why-me-profile-card {
    position: relative;
    width: 100%;
    max-width: 620px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 163, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 163, 255, 0.1);
}

.why-me-profile-card > img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

.profile-quote {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    font-weight: 800;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 20px;
}

.profile-sub {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.profile-sub strong {
    color: var(--white);
}

/* 매매 내역 이미지 */
.why-me-trading-proof {
    width: 100%;
    max-width: 620px;
    text-align: center;
}

.why-me-trading-proof img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.trading-proof-caption {
    margin-top: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'JetBrains Mono', monospace;
}

/* 플로우 (A→A, B→B, C) */
.why-me-flow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 420px;
}

.flow-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.flow-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    min-width: 140px;
    text-align: center;
}

.flow-label.flow-done {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(39, 201, 63, 0.05);
    border-color: rgba(39, 201, 63, 0.15);
}

.flow-arrow-h {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.flow-mid-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin: 20px 0;
}

.flow-row-c {
    margin-top: 4px;
    width: 100%;
}

/* 경고 팝업 */
.flow-row-c {
    position: relative;
}

.error-popup-shadow {
    position: absolute;
    inset: 8px -4px -8px -4px;
    border-radius: var(--radius-lg);
    background: rgba(255, 68, 68, 0.08);
    filter: blur(2px);
    z-index: 0;
}

.error-popup {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: visible;
    background: var(--dark-light);
    border: 1px solid rgba(255, 68, 68, 0.25);
    box-shadow: 0 16px 50px rgba(255, 68, 68, 0.15), 0 4px 12px rgba(0, 0, 0, 0.4);
    animation: popupGlow 2.5s ease-in-out infinite;
}

@keyframes popupGlow {
    0%, 100% { box-shadow: 0 16px 50px rgba(255, 68, 68, 0.15), 0 4px 12px rgba(0, 0, 0, 0.4); }
    50% { box-shadow: 0 16px 50px rgba(255, 68, 68, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 225, 0, 0.06); }
}

.error-popup-top {
    display: flex;
    justify-content: center;
    margin-top: -28px;
    margin-bottom: -8px;
}

.error-popup-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 225, 0, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 225, 0, 0.4); transform: scale(1); }
    50% { box-shadow: 0 4px 30px rgba(255, 225, 0, 0.6); transform: scale(1.05); }
}

.error-popup-triangle {
    font-size: 1.6rem;
    color: var(--dark);
    font-weight: 900;
    line-height: 1;
}

.error-popup-body {
    padding: 24px 24px 28px;
    text-align: center;
}

.error-popup-warning {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--red);
    margin-bottom: 14px;
    animation: warningBlink 1.5s ease-in-out infinite;
}

@keyframes warningBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.error-popup-main {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.error-popup-sub {
    font-size: 0.8rem;
    color: rgba(255, 68, 68, 0.7);
}

/* WHY ME 터미널 */
.why-me-terminal {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.error-terminal {
    border: 1px solid rgba(255, 68, 68, 0.25);
    box-shadow: 0 10px 40px rgba(255, 68, 68, 0.08);
}

.success-terminal {
    border: 1px solid rgba(0, 163, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 163, 255, 0.08);
}

.why-me-terminal .terminal-body {
    background: rgba(0, 0, 0, 0.3);
}

.error-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-tag {
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.critical-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--red) !important;
}

.critical-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--red);
    animation: blink 1s infinite;
}

.terminal-result-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 68, 68, 0.2);
    margin: 14px 0;
}

.terminal-result-line {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 700;
    text-align: center;
    opacity: 0.9;
}

.success-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.success-tag {
    color: var(--green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.active-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 상담 캐러셀 */
.consult-carousel {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.consult-carousel-label {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.consult-carousel-label .text-gradient {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-viewport {
    position: relative;
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--transition-normal);
}

.carousel-viewport:hover {
    border-color: var(--yellow);
}

.carousel-viewport img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.carousel-hint {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yellow);
    padding: 8px 20px;
    border: 1px solid rgba(255, 225, 0, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.carousel-viewport:hover .carousel-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.carousel-viewport:hover .carousel-hint {
    content: '';
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.carousel-dot.active {
    background: var(--yellow);
    transform: scale(1.2);
}

/* 라이트박스 */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
}

.lightbox img {
    position: relative;
    z-index: 1;
    max-width: min(500px, 85vw);
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    margin: 0 12px;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lightbox-close:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.4);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 영상 */
.why-me-videos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 560px;
}

.why-me-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 163, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.why-me-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 구분선 */
.why-me-divider {
    width: 40px;
    height: 1px;
    background: var(--glass-border);
    margin: 8px auto;
}

/* 소제목 */
.why-me-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.6;
}

/* 질문 박스 */
.why-me-questions {
    width: 100%;
    max-width: 520px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    text-align: left;
}

.question-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--blue);
    line-height: 2.2;
}

/* 강조 문단 */
.why-me-emphasis {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    line-height: 1.9;
    color: var(--white);
}

.why-me-emphasis strong {
    color: var(--white);
}

/* 엔딩 */
.why-me-ending {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.6;
    color: var(--white);
    margin-top: 16px;
}

/* =====================================================
   Portfolio Section (독립 섹션)
   ===================================================== */

.portfolio-section {
    padding: 100px 20px;
    background: var(--dark-deeper);
}

.portfolio-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* =====================================================
   Mobile
   ===================================================== */

@media (max-width: 768px) {
    .why-me-section {
        padding: 80px 15px;
    }

    .why-me-analogy {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .analogy-card {
        padding: 24px 20px;
    }

    .why-me-questions {
        padding: 20px;
    }

    .question-line {
        font-size: 0.75rem;
    }

    .portfolio-section {
        padding: 80px 15px;
    }
}
