* {
    font-family: 'Noto Sans KR', sans-serif;
}
.speech-bubble {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 25px 30px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}
.speech-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.speech-bubble.left {
    margin-left: 0;
    margin-right: 60px;
}
.speech-bubble.right {
    margin-left: 60px;
    margin-right: 0;
}
.speech-bubble::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.speech-bubble.left::before {
    left: -15px;
    top: 25px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f8fafc transparent transparent;
}
.speech-bubble.right::before {
    right: -15px;
    top: 25px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #f8fafc;
}
.speech-text {
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    font-weight: 500;
}
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.hero-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}
@media (max-width: 768px) {
    
}
.notification-btn {
    background: #facc15;
    border: none;
    color: #1f2937;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 24px;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.notification-btn:hover {
    background: #fde047;
}
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}
.notification-panel {
    position: absolute;
    top: 110%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1001;
    margin-top: 5px;
    border: 1px solid #e5e7eb;
    display: none;
}
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
}
.notification-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 0;
}
.close-notification-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}
.close-notification-btn:hover {
    color: #333;
}

.alarm-message {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.img-container {
    width: 100%;
    height: 500px;
}

.img-box {
    margin: 0 auto;
    width: 80%;
    height: 100%;
}

/* ------------------------------ */

@media (max-width: 1100px) {
    .text-2xl {
        font-size: 1.2rem;
    }

    .features-inner-text {
        font-size: 10px;
    }

    .name-intro {
        font-size: 11px;
    }

    .p-8 {
        padding: 1rem;
    }

    .features-inner-text-2 {
        font-size: 11px;
    }

    .p-6 {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .header-title {
        font-size: 19px;
    }

    .header-sub-title {
        display: none;
        font-size: 13px;
    }

    .diary-btn {
        width: 80px;
        height: 40px;
        font-size: 15px;
        padding: 0;
    }


    .top-explainer {
        font-size: 25px;
    }

    .top-sub-explainer {
        font-size: 13px;
    }

    .speech-bubble.left,
    .speech-bubble.right {
        margin-left: 0;
        margin-right: 0;
    }
    .speech-bubble::before {
        display: none;
    }
    .speech-text {
        font-size: 15px;
        text-align: center;
    }

    .speech-bubble {
        padding: 15px 5px;
    }

    .img-box {
        width: 100%;
    }

    .img-container {
        height: 200px;
    }

    .survey-box {
        padding: 10px 5px;
    }

    .survey-text {
        font-size: 16px;
    }

    .guide-title {
        font-size: 22px;
    }

    .guide-section {
        padding: 20px 5px;
    }

    .guide-img {
        width: 20rem;
    }

    .guide-sub-text {
        font-size: 13px;
    }
    
    .features-text {
        font-size: 15px;
    }

    .features-box {
        padding: 10px 5px;
    }

    .features-inner-text {
        font-size: 13px;
    }

    /* .items-center {
        justify-content: center;
    } */

    .features-container {
        width: 97%;
    }

    .features-title {
        font-size: 25px;
    }

    .items-justify {
        justify-content: space-between;
    }

    .features-title2 {
        font-size: 19px;
    }

    .alarm-btn {
        height: 40px;
    }

    .notification-panel {
        right: -180%;
    }

}

.from-yellow-400 {
    background: linear-gradient(135deg, #fffd6c 0%, #eeff7e 100%);
}
.header-menu {
    align-items: center;
}