:root {
    --apple-gray: #f5f5f7;
    --apple-blue: #0071e3;
    --text-dark: #1d1d1f;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--apple-gray);
    color: var(--text-dark);
    margin: 0; padding: 0;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
}

.goal-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px; padding: 40px 50px;
}

.goal-card {
    border-radius: 20px; padding: 30px; color: white;
    background-size: cover; background-position: center;
    min-height: 400px; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reward-icon { width: 50px; height: 50px; float: right; }

.plan-item {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(5px);
    margin: 10px 0; padding: 12px; border-radius: 12px;
    display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
}

.btn-ask {
    margin-left: auto; background: white; color: black;
    border: none; padding: 4px 10px; border-radius: 8px; cursor: pointer;
}

/* 모달 및 기타 UI 생략 (핵심 구조 중심) */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; }
.modal-content { background: white; width: 90%; max-width: 500px; margin: 100px auto; padding: 30px; border-radius: 20px; }
.chat-box { height: 300px; overflow-y: auto; border: 1px solid #eee; padding: 15px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }