/* ============================================
   게스트 시스템 소개 모달 — Light GIS 스타일
   ============================================ */

.gi-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: giFadeIn 0.25s ease-out;
}

.gi-overlay.gi-fade-out {
    animation: giFadeOut 0.2s ease-in forwards;
}

.gi-modal {
    display: flex;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 14px;
    width: 1020px;
    max-width: 94vw;
    max-height: 88vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    animation: giSlideUp 0.3s ease-out forwards;
}

.gi-close {
    position: absolute;
    top: 14px; right: 14px;
    background: #f5f6f8;
    border: 1px solid #e0e4e8;
    color: #888;
    cursor: pointer;
    width: 30px; height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
    transition: all 0.15s;
}

.gi-close:hover {
    background: #eee;
    color: #333;
}

.gi-close svg {
    stroke: currentColor;
}

/* ===========================
   좌측: 히어로 + CTA
   =========================== */
.gi-left {
    width: 380px;
    flex-shrink: 0;
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f9fb;
    border-right: 1px solid #e8eaee;
    position: relative;
}

.gi-hero-badge {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1565C0;
    background: #e8f0fe;
    border: 1px solid #c5d9f5;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.gi-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.45;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.gi-subtitle {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 28px;
}

.gi-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    padding-top: 16px;
    border-top: 1px solid #e8eaee;
}

.gi-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6b7280;
}

.gi-trust-item strong {
    color: #1565C0;
    font-weight: 700;
}

.gi-trust-item svg {
    flex-shrink: 0;
    stroke: #1565C0 !important;
    opacity: 0.7;
}

/* CTA */
.gi-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.gi-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 13px 20px;
    background: #1565C0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.25);
}

.gi-cta-primary:hover {
    background: #1255a0;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
    transform: translateY(-1px);
}

.gi-cta-primary svg {
    stroke: #fff !important;
}

.gi-cta-ghost {
    padding: 13px 20px;
    background: #fff;
    border: 1px solid #d0d5dd;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.gi-cta-ghost:hover {
    background: #f5f6f8;
    border-color: #b0b5bd;
}

.gi-dismiss-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.15s;
}

.gi-dismiss-btn:hover {
    color: #6b7280;
}

/* ===========================
   우측: 기능 카드 그리드
   =========================== */
.gi-right {
    flex: 1;
    padding: 32px 24px;
    background: #fff;
    display: flex;
    align-items: center;
    overflow-y: auto;
}

.gi-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.gi-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    transition: all 0.15s;
}

.gi-card:hover {
    border-color: #c5d9f5;
    background: #f5f8ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
}

.gi-card-icon {
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f9;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.gi-card:hover .gi-card-icon {
    background: #e8f0fe;
    border-color: #c5d9f5;
}

.gi-card-icon svg {
    opacity: 0.7;
}

.gi-card:hover .gi-card-icon svg {
    opacity: 1;
}

.gi-card-body {
    min-width: 0;
}

.gi-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gi-card:hover .gi-card-title {
    color: #1565C0;
}

.gi-card-badge {
    font-size: 9px;
    font-weight: 700;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.gi-card-desc {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
    white-space: nowrap;
}

.gi-card:hover .gi-card-desc {
    color: #6b7280;
}

/* ── 애니메이션 ── */
@keyframes giFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes giFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes giSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 반응형 ── */
@media (max-width: 760px) {
    .gi-modal {
        flex-direction: column;
        width: 94vw;
        max-height: 92vh;
        overflow-y: auto;
    }
    .gi-left {
        width: 100%;
        padding: 32px 28px 24px;
        border-right: none;
        border-bottom: 1px solid #e8eaee;
    }
    .gi-right {
        padding: 24px 20px;
    }
    .gi-cards {
        grid-template-columns: 1fr;
    }
    .gi-title {
        font-size: 20px;
    }
}
