/* CTA Bar — 히어로 벗어난 뒤만 표시(JS가 .cta-bar--visible 부여)
 *
 * 위치만 바꿀 때: 아래 두 변수만 조정하면 됩니다.
 *   --cta-bar-bottom : 뷰포트 아래에서 떨어진 거리(클수록 위로 올라감, 현재 데스크톱 120px)
 *   --cta-bar-right  : 뷰포트 오른쪽에서 떨어진 거리(클수록 왼쪽으로)
 * (top/left는 쓰지 않음. 필요하면 .cta-bar에 top/left 추가하고 bottom/right를 auto로)
 */
.cta-bar {
    --cta-bar-bottom: 120px;
    --cta-bar-right: 32px;

    position: fixed;
    bottom: var(--cta-bar-bottom);
    right: var(--cta-bar-right);
    top: auto;
    left: auto;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cta-bar.cta-bar--visible {
    opacity: 1;
    pointer-events: auto;
}

.cta-bar-inner {
    color: rgba(214, 214, 214, 1);
    background-color: rgba(247, 247, 247, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-bar-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    aspect-ratio: 1 / 1;
    min-width: 80px;
}

.cta-bar-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.cta-bar-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cta-bar-btn:hover .cta-bar-btn-icon {
    transform: scale(1.1);
}

.cta-bar-btn-icon svg {
    width: 18px;
    height: 18px;
    color: #333333;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-bar-btn-text {
    color: #333333;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.2;
}

@media (min-width: 769px) and (max-width: 1279px) {
    .cta-bar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .cta-bar {
        display: none !important;
        --cta-bar-bottom: 112px;
        --cta-bar-right: 16px;
    }
}
